Aracılığıyla paylaş


X509SubjectKeyIdentifierClause.TryCreateFrom Yöntem

Tanım

Belirtilen X.509 sertifikasını kullanarak bir anahtar tanımlayıcı yan tümcesi oluşturur.

public:
 static bool TryCreateFrom(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::X509SubjectKeyIdentifierClause ^ % keyIdentifierClause);
public static bool TryCreateFrom (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, out System.IdentityModel.Tokens.X509SubjectKeyIdentifierClause keyIdentifierClause);
static member TryCreateFrom : System.Security.Cryptography.X509Certificates.X509Certificate2 * X509SubjectKeyIdentifierClause -> bool
Public Shared Function TryCreateFrom (certificate As X509Certificate2, ByRef keyIdentifierClause As X509SubjectKeyIdentifierClause) As Boolean

Parametreler

certificate
X509Certificate2

X509Certificate2 anahtar tanımlayıcı yan tümcesini oluşturmak için.

keyIdentifierClause
X509SubjectKeyIdentifierClause

Bu yöntem döndürdüğünde, anahtar tanımlayıcı yan tümcesini temsil eden bir X509SubjectKeyIdentifierClause içerir. Bu parametre, başlatmadan iletilir.

Döndürülenler

true belirtilen X.509 sertifikası için bir anahtar tanımlayıcı yan tümcesi oluşturulduğunda; aksi takdirde , false.

Özel durumlar

certificate, null değeridir.

Açıklamalar

X509SubjectKeyIdentifierClause Konu anahtarı tanımlayıcısı içerdiğinde X.509 sertifikası için bir anahtar tanımlayıcı yan tümcesi oluşturulabilir.

Şunlara uygulanır