[]
Represents a Document Security Store (DSS). Holds information that can be used to verify signatures offline. See PDF specification for details.
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
addVerification(signature, prms?): Promise<boolean>;
Add verification information for specified signature.
The PdfSignature object.
The DSSVerificationParams object which defines parameters used to build verification information.
Promise<boolean>
addVerificationCert(signature, certificatePem): void;
Adds a certificate response for a specified signature.
The PdfSignature object.
string
PEM-encoded end-entity certificate.
void
addVerificationCRL(signature, crl): Promise<void>;
Adds a CRL list for a specified signature.
The PdfSignature object.
Uint8Array
The DER-encoded CRL.
Promise<void>
addVerificationCRL(
signature,
crlUri,
externalResourcesOptions?): Promise<void>;
Adds a CRL list for a specified signature.
The PdfSignature object.
string
The URI containing CRL.
The options used to execute CRL request.
Promise<void>
addVerificationOCSP(signature, ocsp): Promise<void>;
Adds an OCSP response for a specified signature.
The PdfSignature object.
Uint8Array
The DER-encoded OCSP response.
Promise<void>
addVerificationOCSP(
signature,
certificatePem,
parentCertificatePem,
url?,
externalResourcesOptions?): Promise<void>;
Adds an OCSP response for a specified signature.
The PdfSignature object.
string
The certificate for which OCSP is requested.
string
The parent certificate.
string
The OCSP URL. If "null", it will be obtained from certificatePem if possible.
The options used to execute OCSP request.
Promise<void>
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void