2023-08-21 06:29:27 +00:00
|
|
|
import { PublicKey } from './smartcrypto.classes.publickey.js';
|
|
|
|
import { PrivateKey } from './smartcrypto.classes.privatekey.js';
|
2021-02-20 17:51:30 +00:00
|
|
|
export declare class KeyPair {
|
|
|
|
static createNewKeyPair(): Promise<KeyPair>;
|
|
|
|
publicKey: PublicKey;
|
|
|
|
privateKey: PrivateKey;
|
|
|
|
constructor(optionsArg: {
|
|
|
|
privateKey: PrivateKey;
|
|
|
|
publicKey: PublicKey;
|
|
|
|
});
|
|
|
|
}
|