Redigeeri

Jagamisviis:


X509AuthorityKeyIdentifierExtension Class

Definition

Represents the Authority Key Identifier X.509 Extension (2.5.29.35).

public ref class X509AuthorityKeyIdentifierExtension sealed : System::Security::Cryptography::X509Certificates::X509Extension
public sealed class X509AuthorityKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension
type X509AuthorityKeyIdentifierExtension = class
    inherit X509Extension
Public NotInheritable Class X509AuthorityKeyIdentifierExtension
Inherits X509Extension
Inheritance
X509AuthorityKeyIdentifierExtension

Constructors

X509AuthorityKeyIdentifierExtension()

Initializes a new instance of the X509AuthorityKeyIdentifierExtension class.

X509AuthorityKeyIdentifierExtension(Byte[], Boolean)

Initializes a new instance of the X509AuthorityKeyIdentifierExtension class from an encoded representation of the extension and an optional critical marker.

X509AuthorityKeyIdentifierExtension(ReadOnlySpan<Byte>, Boolean)

Initializes a new instance of the X509AuthorityKeyIdentifierExtension class from an encoded representation of the extension and an optional critical marker.

Properties

Critical

Gets a Boolean value indicating whether the extension is critical.

(Inherited from X509Extension)
KeyIdentifier

Gets the subject key identifier value from this certificate's issuing Certificate Authority (CA), when specified.

NamedIssuer

Gets the IssuerName value from this certificate's issuing Certificate Authority (CA), when available.

Oid

Gets or sets the Oid value for an AsnEncodedData object.

(Inherited from AsnEncodedData)
RawData

Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.

(Inherited from AsnEncodedData)
RawIssuer

Gets the encoded representation of the authorityCertIssuer field from the extension, or null when the extension does not contain an authority certificate issuer field.

SerialNumber

Gets the serial number of this certificate's issuing Certificate Authority (CA).

Methods

CopyFrom(AsnEncodedData)

Copies the extension properties of the specified AsnEncodedData object.

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

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier, issuer name and serial number.

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

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided key identifier, issuer name and serial number.

CreateFromCertificate(X509Certificate2, Boolean, Boolean)

Creates an X509AuthorityKeyIdentifierExtension based on values from the provided certificate.

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, Byte[])

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided issuer name and serial number.

CreateFromIssuerNameAndSerialNumber(X500DistinguishedName, ReadOnlySpan<Byte>)

Creates an X509AuthorityKeyIdentifierExtension that specifies the provided issuer name and serial number.

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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Format(Boolean)

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

(Inherited from AsnEncodedData)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to