КриптоПро .NET
Search Results for

    Показать/Скрыть содержание

    Class CpX509Extension

    Represents an X509 extension.

    Inheritance
    object
    CpAsnEncodedData
    CpX509Extension
    CpX509AuthorityInformationAccessExtension
    CpX509AuthorityKeyIdentifierExtension
    CpX509BasicConstraintsExtension
    CpX509EnhancedKeyUsageExtension
    CpX509KeyUsageExtension
    CpX509SubjectAlternativeNameExtension
    CpX509SubjectKeyIdentifierExtension
    Inherited Members
    CpAsnEncodedData.Oid
    CpAsnEncodedData.RawData
    CpAsnEncodedData.Format(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography.X509Certificates
    Assembly: CryptoPro.Security.Cryptography.dll
    Syntax
    public class CpX509Extension : CpAsnEncodedData

    Constructors

    CpX509Extension()

    Initializes a new instance of the CpX509Extension class.

    Declaration
    protected CpX509Extension()

    CpX509Extension(CpAsnEncodedData, bool)

    Initializes a new instance of the CpX509Extension class.

    Declaration
    public CpX509Extension(CpAsnEncodedData encodedExtension, bool critical)
    Parameters
    Type Name Description
    CpAsnEncodedData encodedExtension

    The encoded extension data represented as CpAsnEncodedData.

    bool critical

    true if the extension is critical; otherwise, false.

    CpX509Extension(Oid, byte[], bool)

    Initializes a new instance of the CpX509Extension class.

    Declaration
    public CpX509Extension(Oid oid, byte[] rawData, bool critical)
    Parameters
    Type Name Description
    Oid oid

    The object identifier used to identify the extension.

    byte[] rawData

    The encoded data used to create the extension.

    bool critical

    true if the extension is critical; otherwise, false.

    CpX509Extension(Oid, ReadOnlySpan<byte>, bool)

    Initializes a new instance of the X509Extension class.

    Declaration
    public CpX509Extension(Oid oid, ReadOnlySpan<byte> rawData, bool critical)
    Parameters
    Type Name Description
    Oid oid

    The object identifier used to identify the extension.

    ReadOnlySpan<byte> rawData

    The encoded data used to create the extension.

    bool critical

    true if the extension is critical; otherwise, false.

    CpX509Extension(string, byte[], bool)

    Initializes a new instance of the X509Extension class.

    Declaration
    public CpX509Extension(string oid, byte[] rawData, bool critical)
    Parameters
    Type Name Description
    string oid

    The object identifier used to identify the extension.

    byte[] rawData

    The encoded data used to create the extension.

    bool critical

    true if the extension is critical; otherwise, false.

    CpX509Extension(string, ReadOnlySpan<byte>, bool)

    Initializes a new instance of the X509Extension class.

    Declaration
    public CpX509Extension(string oid, ReadOnlySpan<byte> rawData, bool critical)
    Parameters
    Type Name Description
    string oid

    The object identifier used to identify the extension.

    ReadOnlySpan<byte> rawData

    The encoded data used to create the extension.

    bool critical

    true if the extension is critical; otherwise, false.

    Properties

    Critical

    Gets a value indicating whether the extension is critical.

    Declaration
    public bool Critical { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CopyFrom(CpAsnEncodedData)

    Copies information from an CpAsnEncodedData object.

    Declaration
    public override void CopyFrom(CpAsnEncodedData asnEncodedData)
    Parameters
    Type Name Description
    CpAsnEncodedData asnEncodedData

    The CpAsnEncodedData object to base the new object on.

    Overrides
    CpAsnEncodedData.CopyFrom(CpAsnEncodedData)
    В этом разделе
    Наверх Generated by DocFX