X509AuthorityKeyIdentifierExtension.CreateFromSubjectKeyIdentifier 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateFromSubjectKeyIdentifier(Byte[]) |
建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼值。 |
CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>) |
建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼值。 |
CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension) |
建立 , X509AuthorityKeyIdentifierExtension 指定主體金鑰標識碼延伸模組中的金鑰標識碼。 |
CreateFromSubjectKeyIdentifier(Byte[])
建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼值。
public:
static System::Security::Cryptography::X509Certificates::X509AuthorityKeyIdentifierExtension ^ CreateFromSubjectKeyIdentifier(cli::array <System::Byte> ^ subjectKeyIdentifier);
public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier (byte[] subjectKeyIdentifier);
static member CreateFromSubjectKeyIdentifier : byte[] -> System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension
Public Shared Function CreateFromSubjectKeyIdentifier (subjectKeyIdentifier As Byte()) As X509AuthorityKeyIdentifierExtension
參數
- subjectKeyIdentifier
- Byte[]
證書頒發機構單位 (CA 的主體金鑰標識碼值,) 將簽署此延伸模組的憑證。
傳回
已設定的擴充功能。
例外狀況
subjectKeyIdentifier
為 null
。
適用於
CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>)
建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼值。
public:
static System::Security::Cryptography::X509Certificates::X509AuthorityKeyIdentifierExtension ^ CreateFromSubjectKeyIdentifier(ReadOnlySpan<System::Byte> subjectKeyIdentifier);
public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier (ReadOnlySpan<byte> subjectKeyIdentifier);
static member CreateFromSubjectKeyIdentifier : ReadOnlySpan<byte> -> System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension
Public Shared Function CreateFromSubjectKeyIdentifier (subjectKeyIdentifier As ReadOnlySpan(Of Byte)) As X509AuthorityKeyIdentifierExtension
參數
- subjectKeyIdentifier
- ReadOnlySpan<Byte>
證書頒發機構單位 (CA 的主體金鑰標識碼值,) 將簽署此延伸模組的憑證。
傳回
已設定的擴充功能。
適用於
CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension)
建立 , X509AuthorityKeyIdentifierExtension 指定主體金鑰標識碼延伸模組中的金鑰標識碼。
public:
static System::Security::Cryptography::X509Certificates::X509AuthorityKeyIdentifierExtension ^ CreateFromSubjectKeyIdentifier(System::Security::Cryptography::X509Certificates::X509SubjectKeyIdentifierExtension ^ subjectKeyIdentifier);
public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier (System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension subjectKeyIdentifier);
static member CreateFromSubjectKeyIdentifier : System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension -> System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension
Public Shared Function CreateFromSubjectKeyIdentifier (subjectKeyIdentifier As X509SubjectKeyIdentifierExtension) As X509AuthorityKeyIdentifierExtension
參數
- subjectKeyIdentifier
- X509SubjectKeyIdentifierExtension
證書頒發機構單位 (CA 的主體金鑰標識元延伸模組,) 將簽署此延伸模組的憑證。
傳回
已設定的擴充功能。
例外狀況
subjectKeyIdentifier
為 null
。