Sdílet prostřednictvím


X509AuthorityKeyIdentifierExtension.Create Metoda

Definice

Přetížení

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

Vytvoří identifikátor X509AuthorityKeyIdentifierExtension , který určuje zadaný identifikátor klíče, název vystavitele a sériové číslo.

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

Vytvoří identifikátor X509AuthorityKeyIdentifierExtension , který určuje zadaný identifikátor klíče, název vystavitele a sériové číslo.

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

Zdroj:
X509AuthorityKeyIdentifierExtension.cs
Zdroj:
X509AuthorityKeyIdentifierExtension.cs
Zdroj:
X509AuthorityKeyIdentifierExtension.cs

Vytvoří identifikátor X509AuthorityKeyIdentifierExtension , který určuje zadaný identifikátor klíče, název vystavitele a sériové číslo.

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

Parametry

keyIdentifier
Byte[]

Hodnota identifikátoru klíče předmětu z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

issuerName
X500DistinguishedName

Hodnota názvu vystavitele z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

serialNumber
Byte[]

Hodnota sériového čísla z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

Návraty

Nakonfigurované rozšíření

Výjimky

keyIdentifiernebo issuerNameserialNumber je null.

serialNumber je neplatný, protože úvodních 9 bitů je buď nula, nebo všechny jedna.

Platí pro

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

Zdroj:
X509AuthorityKeyIdentifierExtension.cs
Zdroj:
X509AuthorityKeyIdentifierExtension.cs
Zdroj:
X509AuthorityKeyIdentifierExtension.cs

Vytvoří identifikátor X509AuthorityKeyIdentifierExtension , který určuje zadaný identifikátor klíče, název vystavitele a sériové číslo.

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

Parametry

keyIdentifier
ReadOnlySpan<Byte>

Hodnota identifikátoru klíče předmětu z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

issuerName
X500DistinguishedName

Hodnota názvu vystavitele z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

serialNumber
ReadOnlySpan<Byte>

Hodnota sériového čísla z certifikátu certifikační autority (CA), která podepíše toto rozšíření.

Návraty

Nakonfigurované rozšíření

Výjimky

issuerName je null.

serialNumber je neplatný, protože úvodních 9 bitů je buď nula, nebo všechny jedna.

Platí pro