@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines (30 loc) • 1.2 kB
TypeScript
import { Parameter, KeyAlgorithm } from "./../index";
export interface MetadataPasswordInterface {
hasAsymmetricEncryption?: boolean;
hasOpenPassword?: boolean;
hasPermissionPassword?: boolean;
keyAlgorithm?: KeyAlgorithm;
keyLength?: number;
}
export declare class MetadataPassword implements MetadataPasswordInterface, Parameter {
hasAsymmetricEncryption?: boolean;
hasOpenPassword?: boolean;
hasPermissionPassword?: boolean;
keyAlgorithm?: KeyAlgorithm;
keyLength?: number;
constructor(data: any);
static getHasAsymmetricEncryptionDefault(): boolean;
static getHasAsymmetricEncryptionDescription(): string;
static getHasOpenPasswordDefault(): boolean;
static getHasOpenPasswordDescription(): string;
static getHasPermissionPasswordDefault(): boolean;
static getHasPermissionPasswordDescription(): string;
static getKeyAlgorithmDefault(): KeyAlgorithm;
static getKeyAlgorithmDescription(): string;
static getKeyLengthDefault(): number;
static getKeyLengthDescription(): string;
static getKeyLengthMin(): number;
static fromJson(data: any): MetadataPassword;
toJson(): any;
clone(): MetadataPassword;
}