diff --git a/openpgp.d.ts b/openpgp.d.ts index 4cb3417e..e2a49d6b 100644 --- a/openpgp.d.ts +++ b/openpgp.d.ts @@ -98,6 +98,9 @@ export class Subkey { public getCreationTime(): Date; public getAlgorithmInfo(): AlgorithmInfo; public getKeyID(): KeyID; + public getExpirationTime(date?: Date, config?: Config): Promise + public isRevoked(signature: SignaturePacket, key: AnyKeyPacket, date?: Date, config?: Config): Promise; + public update(subKey: Subkey, date?: Date, config?: Config): Promise } export interface User {