Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing functions in SubKey class type definition #1588

Merged
merged 3 commits into from
Feb 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions openpgp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ export class Subkey {
public getCreationTime(): Date;
public getAlgorithmInfo(): AlgorithmInfo;
public getKeyID(): KeyID;
public getExpirationTime(date?: Date, config?: Config): Promise<Date | typeof Infinity | null>
public clone(): Subkey;
larabr marked this conversation as resolved.
Show resolved Hide resolved
public isRevoked(signature: SignaturePacket, key: PublicSubkeyPacket | SecretSubkeyPacket | PublicKeyPacket | SecretKeyPacket, date?: Date, config?: Config): Promise<boolean>;
FabienForestier marked this conversation as resolved.
Show resolved Hide resolved
public update(subKey: Subkey, date?: Date, config?: Config): Promise<void>
}

export interface User {
Expand Down