Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

KeyTransRecipientInfo Constructor

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

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.

In This Article
  • KeyTransRecipientInfo(Certificate)
  • KeyTransRecipientInfo(Certificate, SubjectIdentifierType)
  • KeyTransRecipientInfo(Certificate, EncryptionParameters)
  • KeyTransRecipientInfo(Certificate, EncryptionParameters, SubjectIdentifierType)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies