We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1adc003 commit ba3d104Copy full SHA for ba3d104
1 file changed
index.d.ts
@@ -0,0 +1,19 @@
1
+declare namespace keypair {
2
+ export interface Options {
3
+ bits?: number,
4
+ e?: number
5
+ }
6
+
7
+ export interface Results {
8
+ public: string,
9
+ private: string
10
11
+}
12
13
+/**
14
+ * Get an RSA PEM key pair.
15
+ * @param opts
16
+ */
17
+declare function keypair (opts?: keypair.Options): keypair.Results;
18
19
+export = keypair;
0 commit comments