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

    Represents GCM Parameters as defined in RFC 5084.

    GCMParameters ::= SEQUENCE {
      aes-nonce        OCTET STRING, -- recommended size is 12 octets
      aes-ICVlen       AES-GCM-ICVlen DEFAULT 12
    }
    
    AES-GCM-ICVlen ::= INTEGER (12 | 13 | 14 | 15 | 16)
    

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new instance of GCMParameters

      Parameters

      • options: { aesICVlen?: number; aesNonce: Uint8Array }

        Configuration options for GCM parameters

        • OptionalaesICVlen?: number

          The integrity check value length in octets (12, 13, 14, 15, or 16). Default is 12.

        • aesNonce: Uint8Array

          The nonce value (initialization vector). Recommended size is 12 octets.

      Returns GCMParameters

    Properties

    aesICVlen: Integer
    aesNonce: OctetString

    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