Share via


X509Certificate2Collection.Export Yöntem

Tanım

İçerik türüne göre X.509 sertifika bilgilerini bayt dizisine aktarır.

Aşırı Yüklemeler

Export(X509ContentType, String)

Parola kullanarak X.509 sertifika bilgilerini bayt dizisine aktarır.

Export(X509ContentType)

X.509 sertifika bilgilerini bir bayt dizisine aktarır.

Export(X509ContentType, String)

Kaynak:
X509Certificate2Collection.cs
Kaynak:
X509Certificate2Collection.cs
Kaynak:
X509Certificate2Collection.cs

Parola kullanarak X.509 sertifika bilgilerini bayt dizisine aktarır.

public:
 cli::array <System::Byte> ^ Export(System::Security::Cryptography::X509Certificates::X509ContentType contentType, System::String ^ password);
public byte[]? Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, string? password);
public byte[] Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password);
member this.Export : System.Security.Cryptography.X509Certificates.X509ContentType * string -> byte[]
Public Function Export (contentType As X509ContentType, password As String) As Byte()

Parametreler

contentType
X509ContentType

Desteklenen X509ContentType bir nesne.

password
String

Bayt dizisini korumak için kullanılan bir dize.

Döndürülenler

Byte[]

Bayt dizisinde X.509 sertifika bilgileri.

Özel durumlar

Sertifika okunamıyor, içerik geçersiz veya parola gerektiren bir sertifika söz konusu olduğunda, sağlanan parola yanlış olduğundan özel anahtar dışarı aktarılamadı.

Açıklamalar

Bu yöntem aşağıdaki X509ContentType türleri destekler:

Şunlara uygulanır

Export(X509ContentType)

Kaynak:
X509Certificate2Collection.cs
Kaynak:
X509Certificate2Collection.cs
Kaynak:
X509Certificate2Collection.cs

X.509 sertifika bilgilerini bir bayt dizisine aktarır.

public:
 cli::array <System::Byte> ^ Export(System::Security::Cryptography::X509Certificates::X509ContentType contentType);
public byte[]? Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType);
public byte[] Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType);
member this.Export : System.Security.Cryptography.X509Certificates.X509ContentType -> byte[]
Public Function Export (contentType As X509ContentType) As Byte()

Parametreler

contentType
X509ContentType

Desteklenen X509ContentType bir nesne.

Döndürülenler

Byte[]

Bayt dizisinde X.509 sertifika bilgileri.

Açıklamalar

Bu yöntem, parola gerektirmeyen içerik türlerini destekler.

Şunlara uygulanır