15 lines
506 B
TypeScript
Raw Normal View History

import ISigner from './interfaces/ISigner.js';
import JwkEs256k from './models/JwkEs256k.js';
/**
* An ISigner implementation that uses a given local private key.
*/
export default class LocalSigner implements ISigner {
private privateKey;
/**
* Creates a new local signer using the given private key.
*/
static create(privateKey: JwkEs256k): ISigner;
private constructor();
sign(header: object, content: object): Promise<string>;
}
//# sourceMappingURL=LocalSigner.d.ts.map