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

    Authenticated Enveloped Data

    AuthEnvelopedData ::= SEQUENCE {
        version CMSVersion,
        originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
        recipientInfos RecipientInfos,
        authEncryptedContentInfo EncryptedContentInfo,
        authAttrs [1] IMPLICIT AuthAttributes OPTIONAL,
        mac MessageAuthenticationCode,
        unauthAttrs [2] IMPLICIT UnauthAttributes OPTIONAL
    }
    

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    authAttrs?: Attributes

    Optional authenticated attributes.

    authEncryptedContentInfo: EncryptedContentInfo

    The authenticated encrypted content and associated parameters.

    mac: MessageAuthenticationCode

    The message authentication code.

    originatorInfo?: OriginatorInfo

    Optional information about the originator.

    recipientInfos: RecipientInfos

    A collection of per-recipient information.

    unauthAttrs?: Attributes

    Optional unauthenticated attributes.

    version: number

    The version of the AuthEnvelopedData structure.

    AuthAttributes: typeof Attributes = AuthAttributes

    Internal AuthAttributes class

    MessageAuthenticationCode: typeof MessageAuthenticationCode = MessageAuthenticationCode

    Internal MessageAuthenticationCode class

    RecipientInfos: typeof RecipientInfos = RecipientInfos

    Internal RecipientInfos class

    UnauthAttributes: typeof Attributes = UnauthAttributes

    Internal UnauthAttributes class

    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