mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Fix generateKeypair() signature (#38328)
This commit is contained in:
committed by
Michael Crane
parent
3962e8926f
commit
0e54827ae7
Vendored
+1
-1
@@ -392,7 +392,7 @@ declare namespace jsrsasign {
|
||||
* var ecKeypair = KEYUTIL.generateKeypair("EC", "secp256r1");
|
||||
*
|
||||
*/
|
||||
static generateKeypair(alg: 'RSA' | 'EC', keylenOrCurve: number): { prvKeyObj: RSAKey; pubKeyObj: RSAKey };
|
||||
static generateKeypair(alg: 'RSA' | 'EC', keylenOrCurve: number | string): { prvKeyObj: RSAKey; pubKeyObj: RSAKey };
|
||||
|
||||
/**
|
||||
* get PEM formatted private or public key file from a RSA/ECDSA/DSA key object
|
||||
|
||||
Reference in New Issue
Block a user