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

    Configuration for a signer in the SignedData structure.

    type SignedDataBuilderSigner = {
        certificate: CertificateChoices;
        encryptionAlgorithm?: AsymmetricEncryptionAlgorithmParams;
        privateKeyInfo: PrivateKeyInfo;
        signedAttrs?: Attribute[];
        tsa?:
            | true
            | {
                hash?: HashAlgorithm;
                password?: string;
                policyId?: string;
                url: string;
                username?: string;
            };
        unsignedAttrs?: Attribute[];
    }
    Index

    Properties

    certificate: CertificateChoices

    The signer's certificate.

    Optional encryption algorithm parameters.

    privateKeyInfo: PrivateKeyInfo

    The private key used for signing.

    signedAttrs?: Attribute[]

    Optional signed attributes to include in the signature.

    tsa?:
        | true
        | {
            hash?: HashAlgorithm;
            password?: string;
            policyId?: string;
            url: string;
            username?: string;
        }

    Optional timestamp authority configuration for timestamping.

    unsignedAttrs?: Attribute[]

    Optional unsigned attributes (e.g., countersignatures).