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 _ ) |
C# |
---|
public KeyTransRecipientInfo( Certificate recipientCertificate, EncryptionParameters encryptionParameters ) |
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).