KeyTransRecipientInfo Constructor
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9083)
KeyTransRecipientInfo(Certificate)
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) to specify RSAES-OAEP parameters.
Declaration
public KeyTransRecipientInfo(Certificate recipientCertificate)
Parameters
Type | Name | Description |
---|---|---|
Certificate | recipientCertificate | The recipient's certificate. |
KeyTransRecipientInfo(Certificate, SubjectIdentifierType)
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.
Declaration
public KeyTransRecipientInfo(Certificate recipientCertificate, SubjectIdentifierType recipientIdentifierType)
Parameters
Type | Name | Description |
---|---|---|
Certificate | recipientCertificate | The recipient's certificate. |
SubjectIdentifierType | recipientIdentifierType | Subject identifier type - only IssuerAndSerialNumber and SubjectKeyIdentifier values are accepted. |
KeyTransRecipientInfo(Certificate, EncryptionParameters)
Creates a new instance of KeyTransRecipientInfo that defines the key transport recipient information for the owner of the specified RSA certificate.
Declaration
public KeyTransRecipientInfo(Certificate recipientCertificate, EncryptionParameters encryptionParameters)
Parameters
Type | Name | Description |
---|---|---|
Certificate | recipientCertificate | The recipient's certificate. |
EncryptionParameters | encryptionParameters | Encryption parameters (to specify RSAES-OAEP parameters). Can be null (for PKCS #1). |
KeyTransRecipientInfo(Certificate, EncryptionParameters, SubjectIdentifierType)
Creates a new instance of KeyTransRecipientInfo that defines the key transport recipient information for the owner of the specified RSA certificate.
Declaration
public KeyTransRecipientInfo(Certificate recipientCertificate, EncryptionParameters encryptionParameters, SubjectIdentifierType recipientIdentifierType)
Parameters
Type | Name | Description |
---|---|---|
Certificate | recipientCertificate | The recipient's certificate. |
EncryptionParameters | encryptionParameters | Encryption parameters (to specify RSAES-OAEP parameters). Can be null (for PKCS #1). |
SubjectIdentifierType | recipientIdentifierType | Subject identifier type - only IssuerAndSerialNumber and SubjectKeyIdentifier values are accepted. |