共用方式為


X509AuthorityKeyIdentifierExtension.CreateFromIssuerNameAndSerialNumber 方法

定義

多載

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, Byte[])

建立 , X509AuthorityKeyIdentifierExtension 指定提供的簽發者名稱和序號。

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, ReadOnlySpan<Byte>)

建立 , X509AuthorityKeyIdentifierExtension 指定提供的簽發者名稱和序號。

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, Byte[])

來源:
X509AuthorityKeyIdentifierExtension.cs
來源:
X509AuthorityKeyIdentifierExtension.cs
來源:
X509AuthorityKeyIdentifierExtension.cs

建立 , X509AuthorityKeyIdentifierExtension 指定提供的簽發者名稱和序號。

public:
 static System::Security::Cryptography::X509Certificates::X509AuthorityKeyIdentifierExtension ^ CreateFromIssuerNameAndSerialNumber(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ issuerName, cli::array <System::Byte> ^ serialNumber);
public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber (System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, byte[] serialNumber);
static member CreateFromIssuerNameAndSerialNumber : System.Security.Cryptography.X509Certificates.X500DistinguishedName * byte[] -> System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension
Public Shared Function CreateFromIssuerNameAndSerialNumber (issuerName As X500DistinguishedName, serialNumber As Byte()) As X509AuthorityKeyIdentifierExtension

參數

issuerName
X500DistinguishedName

證書頒發機構單位 (CA 的簽發者名稱值,) 將簽署此延伸模組的憑證。

serialNumber
Byte[]

證書頒發機構單位 (CA 的序號值,) 將簽署此延伸模組的憑證。

傳回

已設定的擴充功能。

例外狀況

issuerNameserialNumbernull

serialNumber 無效,因為前置 9 位全部都是零或全部一個。

適用於

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, ReadOnlySpan<Byte>)

來源:
X509AuthorityKeyIdentifierExtension.cs
來源:
X509AuthorityKeyIdentifierExtension.cs
來源:
X509AuthorityKeyIdentifierExtension.cs

建立 , X509AuthorityKeyIdentifierExtension 指定提供的簽發者名稱和序號。

public:
 static System::Security::Cryptography::X509Certificates::X509AuthorityKeyIdentifierExtension ^ CreateFromIssuerNameAndSerialNumber(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ issuerName, ReadOnlySpan<System::Byte> serialNumber);
public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber (System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, ReadOnlySpan<byte> serialNumber);
static member CreateFromIssuerNameAndSerialNumber : System.Security.Cryptography.X509Certificates.X500DistinguishedName * ReadOnlySpan<byte> -> System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension
Public Shared Function CreateFromIssuerNameAndSerialNumber (issuerName As X500DistinguishedName, serialNumber As ReadOnlySpan(Of Byte)) As X509AuthorityKeyIdentifierExtension

參數

issuerName
X500DistinguishedName

證書頒發機構單位 (CA 的簽發者名稱值,) 將簽署此延伸模組的憑證。

serialNumber
ReadOnlySpan<Byte>

證書頒發機構單位 (CA 的序號值,) 將簽署此延伸模組的憑證。

傳回

已設定的擴充功能。

例外狀況

issuerNamenull

serialNumber 無效,因為前置 9 位全部都是零或全部一個。

適用於