10 lines
395 B
TypeScript
10 lines
395 B
TypeScript
/// <reference types="node-forge" />
|
|
import * as plugins from './smartcrypto.plugins.js';
|
|
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;
|
|
}
|