共用方式為


X509AuthorityKeyIdentifierExtension.Create 方法

定義

多載

Create(Byte[], X500DistinguishedName, Byte[])

建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼、簽發者名稱和序號。

Create(ReadOnlySpan<Byte>, X500DistinguishedName, ReadOnlySpan<Byte>)

建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼、簽發者名稱和序號。

Create(Byte[], X500DistinguishedName, Byte[])

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

建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼、簽發者名稱和序號。

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

參數

keyIdentifier
Byte[]

證書頒發機構單位 (CA 的主體金鑰標識碼值,) 將簽署此延伸模組的憑證。

issuerName
X500DistinguishedName

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

serialNumber
Byte[]

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

傳回

已設定的擴充功能。

例外狀況

keyIdentifierissuerNameserialNumbernull

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

適用於

Create(ReadOnlySpan<Byte>, X500DistinguishedName, ReadOnlySpan<Byte>)

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

建立 , X509AuthorityKeyIdentifierExtension 指定提供的金鑰標識碼、簽發者名稱和序號。

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

參數

keyIdentifier
ReadOnlySpan<Byte>

證書頒發機構單位 (CA 的主體金鑰標識碼值,) 將簽署此延伸模組的憑證。

issuerName
X500DistinguishedName

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

serialNumber
ReadOnlySpan<Byte>

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

傳回

已設定的擴充功能。

例外狀況

issuerNamenull

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

適用於