Creates a new instance of KeyTransRecipientInfo that defines the key transport recipient information for the owner of the specified RSA certificate.

Namespace:  Rebex.Security.Cryptography.Pkcs
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	recipientCertificate As Certificate, _
	encryptionParameters As EncryptionParameters, _
	recipientIdentifierType As SubjectIdentifierType _
)
C#
public KeyTransRecipientInfo(
	Certificate recipientCertificate,
	EncryptionParameters encryptionParameters,
	SubjectIdentifierType recipientIdentifierType
)

Parameters

recipientCertificate
Type: Rebex.Security.Certificates..::..Certificate
The recipient's certificate.
encryptionParameters
Type: Rebex.Security.Cryptography..::..EncryptionParameters
Encryption parameters (to specify RSAES-OAEP parameters). Can be null (for PKCS #1).
recipientIdentifierType
Type: Rebex.Security.Cryptography.Pkcs..::..SubjectIdentifierType
Subject identifier type - only IssuerAndSerialNumber and SubjectKeyIdentifier values are accepted.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also