Nutrient Web SDK
    Preparing search index...

    Type Alias SignatureInfo

    type SignatureInfo = {
        certificateChainValidationStatus:
            | "ok"
            | "failed_to_retrieve_signature_contents"
            | "ok_but_self_signed"
            | "ok_but_could_not_check_revocation"
            | "untrusted"
            | "expired"
            | "not_yet_valid"
            | "invalid"
            | "revoked"
            | "general_validation_problem";
        creationDate: Date
        | null
        | undefined;
        documentIntegrityStatus:
            | "ok"
            | "tampered_document"
            | "failed_to_retrieve_signature_contents"
            | "failed_to_retrieve_byterange"
            | "failed_to_compute_digest"
            | "failed_retrieve_signing_certificate"
            | "failed_retrieve_public_key"
            | "failed_encryption_padding"
            | "tampered_or_invalid_timestamp"
            | "general_failure";
        documentModifiedSinceSignature: boolean;
        isExpired: boolean;
        isSelfSigned: boolean;
        isTrusted: boolean;
        ltv: boolean;
        PAdESSignatureLevel?: "b-b" | "b-t" | "b-lt"
        | null;
        signatureFormFQN: string;
        signatureLocation: string | null | undefined;
        signatureReason: string | null | undefined;
        signatureType?: "CMS" | "CAdES" | null;
        signatureValidationStatus: "valid" | "warning" | "error";
        signerName: string | null | undefined;
        signingCertificateChain?: SigningCertificate[];
        timestampInfo: {
            signerName: string | null | undefined;
            type: "pspdfkit/timestamp-info";
        };
        type: "pspdfkit/signature-info";
        validFrom: string
        | null
        | undefined;
        validUntil: string | null | undefined;
    }
    Index

    Properties

    certificateChainValidationStatus:
        | "ok"
        | "failed_to_retrieve_signature_contents"
        | "ok_but_self_signed"
        | "ok_but_could_not_check_revocation"
        | "untrusted"
        | "expired"
        | "not_yet_valid"
        | "invalid"
        | "revoked"
        | "general_validation_problem"

    The different possible validation states of the certificate chain.

    creationDate: Date | null | undefined

    Date of the signature.

    documentIntegrityStatus:
        | "ok"
        | "tampered_document"
        | "failed_to_retrieve_signature_contents"
        | "failed_to_retrieve_byterange"
        | "failed_to_compute_digest"
        | "failed_retrieve_signing_certificate"
        | "failed_retrieve_public_key"
        | "failed_encryption_padding"
        | "tampered_or_invalid_timestamp"
        | "general_failure"

    The different signature validation states the document can be in.

    documentModifiedSinceSignature: boolean

    The document has been modified since this signature has been added to it. Depending on the uncovered changes, the signature may be "valid with modifications", or "invalid".

    isExpired: boolean

    The signing certificate is expired.

    isSelfSigned: boolean

    The signing certificate is self-signed.

    isTrusted: boolean

    The signing certificate has been explicitly marked as trusted by the certificate store.

    ltv: boolean

    Whether the signature is LTV enabled.

    PAdESSignatureLevel?: "b-b" | "b-t" | "b-lt" | null

    The PAdES level of the signature.

    signatureFormFQN: string

    The fully qualified name of the signature form field.

    signatureLocation: string | null | undefined

    Location where the signature has taken place.

    signatureReason: string | null | undefined

    Purpose of the signature.

    signatureType?: "CMS" | "CAdES" | null

    Type of the signature: CMS, CAdES or Document Timestamp.

    signatureValidationStatus: "valid" | "warning" | "error"

    The different possible validation states of the signature.

    signerName: string | null | undefined

    Signer's name.

    signingCertificateChain?: SigningCertificate[]

    Signing certificate chain information.

    timestampInfo: {
        signerName: string | null | undefined;
        type: "pspdfkit/timestamp-info";
    }

    Information about the timestamp of the signature.

    type: "pspdfkit/signature-info"
    validFrom: string | null | undefined

    The date from which the signature is valid.

    validUntil: string | null | undefined

    The date until which the signature is valid.