Table of Contents

Class Asn1KeyUnwrapper

Namespace
Org.BouncyCastle.Crypto.Operators
Assembly
BouncyCastle.Cryptography.dll
public class Asn1KeyUnwrapper : IKeyUnwrapper
Inheritance
Asn1KeyUnwrapper
Implements
Inherited Members

Constructors

Asn1KeyUnwrapper(DerObjectIdentifier, Asn1Encodable, ICipherParameters)

public Asn1KeyUnwrapper(DerObjectIdentifier algorithm, Asn1Encodable parameters, ICipherParameters key)

Parameters

algorithm DerObjectIdentifier
parameters Asn1Encodable
key ICipherParameters

Asn1KeyUnwrapper(DerObjectIdentifier, ICipherParameters)

public Asn1KeyUnwrapper(DerObjectIdentifier algorithm, ICipherParameters key)

Parameters

algorithm DerObjectIdentifier
key ICipherParameters

Asn1KeyUnwrapper(string, ICipherParameters)

public Asn1KeyUnwrapper(string algorithm, ICipherParameters key)

Parameters

algorithm string
key ICipherParameters

Properties

AlgorithmDetails

The parameter set used to configure this key unwrapper.

public object AlgorithmDetails { get; }

Property Value

object

Methods

Unwrap(byte[], int, int)

Unwrap the passed in data.

public IBlockResult Unwrap(byte[] keyData, int offSet, int length)

Parameters

keyData byte[]
offSet int
length int

The length of the data to be unwrapped.

Returns

IBlockResult

an IBlockResult containing the unwrapped key data.