UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

31 lines (30 loc) 1.01 kB
/** * Parameters specifying options related to the time stamp authority credentials required for {@link RFC3161TSAOptions}. */ export declare class TSABasicAuthCredentials { private readonly _username; private readonly _password; /** * Constructs a new `TSABasicAuthCredentials` instance. * * @param params - The parameters for constructing an instance of `TSABasicAuthCredentials`. * @param params.username - The username required to get the timestamp token. Cannot be undefined. * @param params.password - The password required to get the timestamp token. Cannot be undefined. */ constructor(params: { username: string; password: string; }); /** * Returns the intended username to be used for timestamping. * * @returns The username */ get username(): string; /** * Returns the intended password to be used for timestamping. * * @returns The password */ get password(): string; }