Skip to content

Commit

Permalink
Add revoke to Subkey in type definition (openpgpjs#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
haryu703 committed May 2, 2023
1 parent 726ee55 commit 785d24d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openpgp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class Subkey {
public getExpirationTime(date?: Date, config?: Config): Promise<Date | typeof Infinity | null>
public isRevoked(signature: SignaturePacket, key: AnyKeyPacket, date?: Date, config?: Config): Promise<boolean>;
public update(subKey: Subkey, date?: Date, config?: Config): Promise<void>
public revoke(primaryKey: SecretKeyPacket, reasonForRevocation?: ReasonForRevocation, date?: Date, config?: Config): Promise<Subkey>;
}

export interface User {
Expand Down

0 comments on commit 785d24d

Please sign in to comment.