UNPKG

@shockpkg/ria-packager

Version:

Package for creating Adobe AIR packages

28 lines (27 loc) 653 B
import { SecurityCertificate } from './certificate.ts'; import { SecurityKeyPrivate } from './key/private.ts'; /** * SecurityKeystore object. */ export declare abstract class SecurityKeystore { /** * SecurityKeystore constructor. */ constructor(); /** * Reset the internal state. */ abstract reset(): void; /** * Get certificate or throw if none. * * @returns Certificate instance. */ abstract getCertificate(): SecurityCertificate; /** * Get private key or throw if none. * * @returns Private key instance. */ abstract getPrivateKey(): SecurityKeyPrivate; }