Makes sure Autogram is running (launching it if needed) and returns
its info. With minimumAppVersion an older Autogram emits the
appVersionTooLow state and throws
AutogramAppVersionTooLowException.
Signs one or more documents. Multiple documents are signed together
into a single ASiC_E container ("spoločná autorizácia dokumentov").
Autogram >= 2.8.0 is used via POST /api/v1/sign. Older versions fall
back to the legacy POST /sign endpoint, which supports one document
only – signing multiple documents (or requesting v1-only checks) with
an older Autogram emits the appVersionTooLow state and throws
AutogramAppVersionTooLowException (code app-version-too-low).
Check for PDF/A compliance and show warning if not compliant.
Default
false
OptionalcheckPDFEmbeddedAttachments?: boolean
Description
Check for attachments embedded inside PDF file and show warning if any are found.
Default
false
Optionalcontainer?: null|"ASiC_E"
Description
Optional container type that should be used to place the file with signature to. Defaults to null. For a document with xdcParameters.autoLoadEform=true, this value can be overridden by the resolved eForm requirements.
Signature format. Format PAdES is usable only with documents of type application/pdf. Format XAdES is usable with XML or with any file type if using an ASiC container. Format is not required when signing already signed documents - PAdES or ASiC-E.
Optional form of packaging used with XML. ENVELOPED adds the signature as a child of the root element while ENVELOPING wraps the XML in a new element. Only applies to XAdES signatures. Must be ENVELOPING when used without ASiC container and with non XML documents. For a document with xdcParameters.autoLoadEform=true, this value can be overridden by the resolved eForm requirements.
Default
ENVELOPED @enum {string}
Optionalprofile?: null|"BASELINE_B"|"BASELINE_T"
Description
Signature profile. If null, the BASELINE_B profile is used by default.
Makes sure Autogram is running (launching it if needed) and returns its info. With
minimumAppVersionan older Autogram emits theappVersionTooLowstate and throws AutogramAppVersionTooLowException.