X509SubjectKeyIdentifierClause.TryCreateFrom Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.