Result of a signing operation, unified across desktop and mobile backends. Unlike SignedObject it keeps every signer and the MIME type of the signed artifact.

interface SignedDocumentResult {
    content: string;
    encoding: "utf-8" | "base64";
    filename?: string;
    mimeType: string;
    signatures: SignatureInfo[];
}

Properties

content: string
encoding: "utf-8" | "base64"

How content is encoded.

filename?: string
mimeType: string

MIME type of the signed artifact (container, PDF, XML, …).

signatures: SignatureInfo[]

All signatures on the document, in signing order.