RecipientInfoGeneratorGenerate Method

Generate a RecipientInfo object for the given key.

Definition

Namespace: Org.BouncyCastle.Cms
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
RecipientInfo Generate(
	KeyParameter contentEncryptionKey,
	SecureRandom random
)

Parameters

contentEncryptionKey  KeyParameter
A KeyParameter
random  SecureRandom
A SecureRandom

Return Value

RecipientInfo
A RecipientInfo

Exceptions

See Also