Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed Dec 14, 2020
1 parent f466c2c commit 78408e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openpgp.d.ts
Expand Up @@ -622,9 +622,10 @@ export type EllipticCurveName = 'curve25519' | 'p256' | 'p384' | 'p521' | 'secp2
export interface KeyOptions {
userIds: UserId[]; // generating a key with no user defined results in error
passphrase?: string;
numBits?: number;
keyExpirationTime?: number;
type?: 'ecc' | 'rsa';
curve?: EllipticCurveName;
rsaBits?: number;
keyExpirationTime?: number;
date?: Date;
subkeys?: KeyOptions[];
}
Expand Down

0 comments on commit 78408e6

Please sign in to comment.