X509AuthorityKeyIdentifierExtension.CreateFromSubjectKeyIdentifier 方法

定义

重载

CreateFromSubjectKeyIdentifier(Byte[])

创建一个 X509AuthorityKeyIdentifierExtension 指定提供的密钥标识符值的 。

CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>)

创建一个 X509AuthorityKeyIdentifierExtension 指定提供的密钥标识符值的 。

CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension)

创建一个 , X509AuthorityKeyIdentifierExtension 它指定使用者密钥标识符扩展中的密钥标识符值。

CreateFromSubjectKeyIdentifier(Byte[])

Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs

创建一个 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) 将对此扩展进行签名的证书的使用者密钥标识符值。

返回

配置的扩展。

例外

subjectKeyIdentifiernull

适用于

CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>)

Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs

创建一个 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)

Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs
Source:
X509AuthorityKeyIdentifierExtension.cs

创建一个 , 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 的使用者密钥标识符扩展) 将对此扩展进行签名的证书。

返回

配置的扩展。

例外

subjectKeyIdentifiernull

适用于