diff --git a/openpgp.d.ts b/openpgp.d.ts index d6cc9204..4ec9654e 100644 --- a/openpgp.d.ts +++ b/openpgp.d.ts @@ -101,6 +101,7 @@ export class Subkey { 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 + public revoke(primaryKey: SecretKeyPacket, reasonForRevocation?: ReasonForRevocation, date?: Date, config?: Config): Promise; } export interface User {