Creates a new instance of KeyTransRecipientInfo that defines the key transport recipient information for the owner of the specified RSA certificate. Use KeyTransRecipientInfo(Certificate, EncryptionParameters, SubjectIdentifierType) to specify RSAES-OAEP parameters.

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

Syntax

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

Parameters

recipientCertificate
Type: Rebex.Security.Certificates..::..Certificate
The recipient's certificate.
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