Class KeyTransRecipientInfoGenerator
- Namespace
- Enterprises.Org.BouncyCastle.Cms
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class KeyTransRecipientInfoGenerator : IRecipientInfoGenerator
- Inheritance
-
KeyTransRecipientInfoGenerator
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
KeyTransRecipientInfoGenerator(IssuerAndSerialNumber)
protected KeyTransRecipientInfoGenerator(IssuerAndSerialNumber issuerAndSerialNumber)
Parameters
issuerAndSerialNumber
IssuerAndSerialNumber
KeyTransRecipientInfoGenerator(byte[])
protected KeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier)
Parameters
subjectKeyIdentifier
byte[]
Properties
AlgorithmDetails
protected virtual AlgorithmIdentifier AlgorithmDetails { get; }
Property Value
- AlgorithmIdentifier
Methods
Generate(KeyParameter, SecureRandom)
public RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random)
Parameters
contentEncryptionKey
KeyParameter
random
SecureRandom
Returns
- RecipientInfo
GenerateWrappedKey(KeyParameter)
protected virtual byte[] GenerateWrappedKey(KeyParameter contentEncryptionKey)
Parameters
contentEncryptionKey
KeyParameter
Returns
- byte[]