Bewerken

Share via


X509AuthorityKeyIdentifierExtension.CreateFromSubjectKeyIdentifier Method

Definition

Overloads

CreateFromSubjectKeyIdentifier(Byte[])

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier value.

CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>)

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier value.

CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension)

Creates an X509AuthorityKeyIdentifierExtension that specifies the key identifier value from a subject key identifier extension.

CreateFromSubjectKeyIdentifier(Byte[])

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

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier value.

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

Parameters

subjectKeyIdentifier
Byte[]

The subject key identifier value from the Certificate Authority (CA) certificate that will sign this extension.

Returns

The configured extension.

Exceptions

subjectKeyIdentifier is null.

Applies to

CreateFromSubjectKeyIdentifier(ReadOnlySpan<Byte>)

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

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier value.

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

Parameters

subjectKeyIdentifier
ReadOnlySpan<Byte>

The subject key identifier value from the Certificate Authority (CA) certificate that will sign this extension.

Returns

The configured extension.

Applies to

CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension)

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

Creates an X509AuthorityKeyIdentifierExtension that specifies the key identifier value from a subject key identifier extension.

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

Parameters

subjectKeyIdentifier
X509SubjectKeyIdentifierExtension

The subject key identifier extension from the Certificate Authority (CA) certificate that will sign this extension.

Returns

The configured extension.

Exceptions

subjectKeyIdentifier is null.

Applies to