Skip to content

Commit 785d24d

Browse files
authored
Add revoke to Subkey in type definition (#1639)
1 parent 726ee55 commit 785d24d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openpgp.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export class Subkey {
101101
public getExpirationTime(date?: Date, config?: Config): Promise<Date | typeof Infinity | null>
102102
public isRevoked(signature: SignaturePacket, key: AnyKeyPacket, date?: Date, config?: Config): Promise<boolean>;
103103
public update(subKey: Subkey, date?: Date, config?: Config): Promise<void>
104+
public revoke(primaryKey: SecretKeyPacket, reasonForRevocation?: ReasonForRevocation, date?: Date, config?: Config): Promise<Subkey>;
104105
}
105106

106107
export interface User {

0 commit comments

Comments
 (0)