/** * RSA signer * * @implements {ISigner} */ export class RSASigner extends DID implements ISigner { static code: number; /** * Generate a new signer */ static generate(): Promise; /** * Import a signer from a JWK * * @param {import('iso-did/types').RSAJWKPrivate} jwk * @param {import('iso-did/types').VerifiableDID} [did] */ static importJwk(jwk: import("iso-did/types").RSAJWKPrivate, did?: import("iso-did/types").VerifiableDID): Promise; /** * Import a signer from a keypair * * @param {CryptoKeyPair} keypair * @param {import('iso-did/types').VerifiableDID} [did] */ static import(keypair: CryptoKeyPair, did?: import("iso-did/types").VerifiableDID): Promise; /** * @param {import('iso-did/types').VerifiableDID} did * @param {CryptoKeyPair} keypair */ constructor(did: import("iso-did/types").VerifiableDID, keypair: CryptoKeyPair); /** @type {import('../types.js').SignatureType} */ signatureType: import("../types.js").SignatureType; /** * Sign a message * * @param {Uint8Array} message */ sign(message: Uint8Array): Promise>; /** * Export the signer as a crypto key pair */ export(): CryptoKeyPair; #private; } export type ISigner = import("../types.js").ISigner; import { DID } from 'iso-did'; //# sourceMappingURL=rsa.d.ts.map