We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
revoke
Subkey
1 parent 726ee55 commit 785d24dCopy full SHA for 785d24d
1 file changed
openpgp.d.ts
@@ -101,6 +101,7 @@ export class Subkey {
101
public getExpirationTime(date?: Date, config?: Config): Promise<Date | typeof Infinity | null>
102
public isRevoked(signature: SignaturePacket, key: AnyKeyPacket, date?: Date, config?: Config): Promise<boolean>;
103
public update(subKey: Subkey, date?: Date, config?: Config): Promise<void>
104
+ public revoke(primaryKey: SecretKeyPacket, reasonForRevocation?: ReasonForRevocation, date?: Date, config?: Config): Promise<Subkey>;
105
}
106
107
export interface User {
0 commit comments