2021-02-20 17:51:30 +00:00
|
|
|
/// <reference types="node-forge" />
|
2023-08-21 06:29:27 +00:00
|
|
|
import * as plugins from './smartcrypto.plugins.js';
|
2021-02-20 17:51:30 +00:00
|
|
|
export declare class PrivateKey {
|
|
|
|
static createFromPrivateKey(pemString: string): PrivateKey;
|
|
|
|
static fromPemString(pemString: string): PrivateKey;
|
|
|
|
forgePrivateKey: plugins.nodeForge.pki.PrivateKey;
|
|
|
|
constructor(privateKeyArg: plugins.nodeForge.pki.PrivateKey);
|
|
|
|
toPemString(): string;
|
|
|
|
}
|