import { Storage } from "../storage"; /** * Enumeration specifies certificate types */ export declare enum CertificateType { /** * X509 certificate */ X_509, /** * X509 attribute certificate */ X_509_ATTR_CERT, /** * WTLS public key certificates */ WTLS } /** * Enumeration specifies categories of certificate */ export declare enum CertificateCategory { Unspecified = 0, TokenUser = 1, Authority = 2, OtherEntity = 3 } /** * Certificate objects (object class CKO_CERTIFICATE) hold public-key or attribute certificates */ export declare class Certificate extends Storage { /** * Type of certificate */ type: CertificateType; /** * The certificate can be trusted for the application that it was created. */ trusted: boolean; /** * Categorization of the certificate */ category: CertificateCategory; /** * Checksum */ checkValue: Buffer; /** * Start date for the certificate (default empty) */ startDate: Date; /** * End date for the certificate (default empty) */ endDate: Date; }