Aracılığıyla paylaş


CmsRecipient Oluşturucular

Tanım

CmsRecipient sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

CmsRecipient(X509Certificate2)

Ortak anahtar algoritması ve konu tanımlayıcısı CmsRecipient için varsayılan şifreleme modunu kullanarak sınıfın yeni bir örneğini belirtilen bir IssuerAndSerialNumber sertifikayla başlatır.

CmsRecipient(SubjectIdentifierType, X509Certificate2)

Ortak anahtar algoritması için CmsRecipient varsayılan şifreleme modunu kullanarak sınıfın yeni bir örneğini belirtilen sertifika ve alıcı tanımlayıcı türüyle başlatır.

CmsRecipient(X509Certificate2, RSAEncryptionPadding)

Bir konu tanımlayıcısı CmsRecipient kullanarak belirtilen bir RSA sertifikası ve RSA şifreleme doldurması ile sınıfının yeni bir IssuerAndSerialNumber örneğini başlatır.

CmsRecipient(SubjectIdentifierType, X509Certificate2, RSAEncryptionPadding)

Sınıfın CmsRecipient yeni bir örneğini belirtilen RSA sertifikası, RSA şifreleme doldurması ve konu tanımlayıcısıyla başlatır.

CmsRecipient(X509Certificate2)

Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs

Ortak anahtar algoritması ve konu tanımlayıcısı CmsRecipient için varsayılan şifreleme modunu kullanarak sınıfın yeni bir örneğini belirtilen bir IssuerAndSerialNumber sertifikayla başlatır.

public:
 CmsRecipient(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public CmsRecipient (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.Security.Cryptography.Pkcs.CmsRecipient : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.Security.Cryptography.Pkcs.CmsRecipient
Public Sub New (certificate As X509Certificate2)

Parametreler

certificate
X509Certificate2

Bu alıcı için şifreleme yaparken kullanılacak sertifika.

Özel durumlar

certificate parametresidirnull.

Açıklamalar

sınıfı CmsRecipient aşağıdaki varsayılan özellik değerlerine sahiptir.

Özellik Varsayılan değer
RecipientIdentifierType IssuerAndSerialNumber
RSAEncryptionPadding null

Ayrıca bkz.

Şunlara uygulanır

CmsRecipient(SubjectIdentifierType, X509Certificate2)

Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs

Ortak anahtar algoritması için CmsRecipient varsayılan şifreleme modunu kullanarak sınıfın yeni bir örneğini belirtilen sertifika ve alıcı tanımlayıcı türüyle başlatır.

public:
 CmsRecipient(System::Security::Cryptography::Pkcs::SubjectIdentifierType recipientIdentifierType, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public CmsRecipient (System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.Security.Cryptography.Pkcs.CmsRecipient : System.Security.Cryptography.Pkcs.SubjectIdentifierType * System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.Security.Cryptography.Pkcs.CmsRecipient
Public Sub New (recipientIdentifierType As SubjectIdentifierType, certificate As X509Certificate2)

Parametreler

recipientIdentifierType
SubjectIdentifierType

Hangi alıcı sertifikasının kullanıldığını belirlemek için kullanılacak şema.

certificate
X509Certificate2

Bu alıcı için şifreleme yaparken kullanılacak sertifika.

Özel durumlar

certificate parametresidirnull.

recipientIdentifierType Değer desteklenmiyor.

Ayrıca bkz.

Şunlara uygulanır

CmsRecipient(X509Certificate2, RSAEncryptionPadding)

Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs

Bir konu tanımlayıcısı CmsRecipient kullanarak belirtilen bir RSA sertifikası ve RSA şifreleme doldurması ile sınıfının yeni bir IssuerAndSerialNumber örneğini başlatır.

public:
 CmsRecipient(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Cryptography::RSAEncryptionPadding ^ rsaEncryptionPadding);
public CmsRecipient (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.RSAEncryptionPadding rsaEncryptionPadding);
new System.Security.Cryptography.Pkcs.CmsRecipient : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Cryptography.RSAEncryptionPadding -> System.Security.Cryptography.Pkcs.CmsRecipient
Public Sub New (certificate As X509Certificate2, rsaEncryptionPadding As RSAEncryptionPadding)

Parametreler

certificate
X509Certificate2

Bu alıcı için şifreleme yaparken kullanılacak sertifika.

rsaEncryptionPadding
RSAEncryptionPadding

Bu alıcı için şifreleme yaparken kullanılacak RSA doldurma modu.

Özel durumlar

certificate veya rsaEncryptionPadding parametresidirnull.

Parametre certificate ortak anahtarı RSA ortak anahtarı olarak tanınmıyor.

-veya-

recipientIdentifierType Değer desteklenmiyor.

Açıklamalar

sınıfı CmsRecipient aşağıdaki varsayılan özellik değerlerine sahiptir.

Özellik Varsayılan değer
RecipientIdentifierType IssuerAndSerialNumber

Şunlara uygulanır

CmsRecipient(SubjectIdentifierType, X509Certificate2, RSAEncryptionPadding)

Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs
Kaynak:
CmsRecipient.cs

Sınıfın CmsRecipient yeni bir örneğini belirtilen RSA sertifikası, RSA şifreleme doldurması ve konu tanımlayıcısıyla başlatır.

public:
 CmsRecipient(System::Security::Cryptography::Pkcs::SubjectIdentifierType recipientIdentifierType, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Cryptography::RSAEncryptionPadding ^ rsaEncryptionPadding);
public CmsRecipient (System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.RSAEncryptionPadding rsaEncryptionPadding);
new System.Security.Cryptography.Pkcs.CmsRecipient : System.Security.Cryptography.Pkcs.SubjectIdentifierType * System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Cryptography.RSAEncryptionPadding -> System.Security.Cryptography.Pkcs.CmsRecipient
Public Sub New (recipientIdentifierType As SubjectIdentifierType, certificate As X509Certificate2, rsaEncryptionPadding As RSAEncryptionPadding)

Parametreler

recipientIdentifierType
SubjectIdentifierType

Hangi alıcı sertifikasının kullanıldığını belirlemek için kullanılacak şema.

certificate
X509Certificate2

Bu alıcı için şifreleme yaparken kullanılacak sertifika.

rsaEncryptionPadding
RSAEncryptionPadding

Bu alıcı için şifreleme yaparken kullanılacak RSA doldurma modu.

Özel durumlar

certificate veya rsaEncryptionPadding parametresidirnull.

Parametre certificate ortak anahtarı RSA ortak anahtarı olarak tanınmıyor.

Ayrıca bkz.

Şunlara uygulanır