PKI-Lite - v1.0.5
    Preparing search index...

    Represents the information in an attribute certificate v1 (obsolete). This is based on the v2 structure but with version set to v1(0).

    AttributeCertificateInfoV1 ::= SEQUENCE {
        version              AttCertVersionV1 DEFAULT v1,
        subject              CHOICE {
            baseCertificateID   [0] IssuerSerial,
            subjectName         [1] GeneralNames
        },
        issuer               GeneralNames,
        signature            AlgorithmIdentifier,
        serialNumber         CertificateSerialNumber,
        attCertValidityPeriod   AttCertValidityPeriod,
        attributes           SEQUENCE OF Attribute,
        issuerUniqueID       UniqueIdentifier OPTIONAL,
        extensions           Extensions OPTIONAL
    }
    
    AttCertVersionV1 ::= INTEGER { v1(0) }
    

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new AttributeCertificateInfoV1 instance.

      Parameters

      • options: {
            attributes: Attribute[];
            extensions?: Extension[];
            issuer: Uint8Array;
            issuerUniqueID?: Uint8Array<ArrayBufferLike>;
            serialNumber: Uint8Array;
            signature: AlgorithmIdentifier;
            subject: Uint8Array;
            validityPeriod: { notAfter: Date; notBefore: Date };
            version: number;
        }

        The options object containing the certificate information

      Returns AttributeCertificateInfoV1

    Properties

    attributes: Attribute[]
    extensions?: Extension[]
    issuer: Uint8Array
    issuerUniqueID?: Uint8Array<ArrayBufferLike>
    serialNumber: Uint8Array
    subject: Uint8Array
    validityPeriod: { notAfter: Date; notBefore: Date }
    version: number

    Accessors

    • get pemHeader(): string

      Gets the PEM header name for this object type. Converts the class name to uppercase for use in PEM encoding.

      Returns string

    • get pkiType(): string

      Gets the PKI type name for this object (typically the class name). Used for PEM headers and debugging output.

      Returns string

    Methods

    • Compares this PKI object with another for equality. Two objects are considered equal if their DER encodings are identical.

      Parameters

      • other: PkiBase<any>

        The other PKI object to compare with

      Returns boolean

      true if the objects are equal, false otherwise

    • Returns a human-readable string representation of this object. By default, returns the same as toString(), but subclasses can override for more user-friendly output.

      Returns string

      A human-readable string representation