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

    Represents the holder of an attribute certificate. According to RFC 5755, the holder is defined as:

    Holder ::= SEQUENCE {
        baseCertificateID   [0] IssuerSerial OPTIONAL,
        entityName          [1] GeneralNames OPTIONAL,
        objectDigestInfo    [2] ObjectDigestInfo OPTIONAL
    }
    
    IssuerSerial ::= SEQUENCE {
        issuer         GeneralNames,
        serial         CertificateSerialNumber,
        issuerUID      UniqueIdentifier OPTIONAL
    }
    
    ObjectDigestInfo ::= SEQUENCE {
        digestedObjectType  ENUMERATED {
            publicKey            (0),
            publicKeyCert        (1),
            otherObjectTypes     (2) },
        otherObjectTypeID   OBJECT IDENTIFIER OPTIONAL,
        digestAlgorithm     AlgorithmIdentifier,
        objectDigest        BIT STRING
    }
    

    This implementation provides a simplified representation.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    holderValue: Uint8Array

    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