@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
33 lines (32 loc) • 1.33 kB
text/typescript
import { KnownJwaKeyAgreementAlgorithm, KnownJwaSignatureAlgorithm } from "../../jwa.mjs";
import { KmsJwkPublicRsa } from "./rsaJwk.mjs";
import { PublicJwkType } from "../PublicJwk.mjs";
//#region src/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.ts
declare class RsaPublicJwk implements PublicJwkType<KmsJwkPublicRsa> {
readonly jwk: KmsJwkPublicRsa;
static supportedEncryptionKeyAgreementAlgorithms: KnownJwaKeyAgreementAlgorithm[];
static supportedSignatureAlgorithms: KnownJwaSignatureAlgorithm[];
static multicodecPrefix: number;
multicodecPrefix: number;
supportedEncryptionKeyAgreementAlgorithms: ("ECDH-ES" | "ECDH-ES+A128KW" | "ECDH-ES+A192KW" | "ECDH-ES+A256KW" | "ECDH-HSALSA20")[];
get supportedSignatureAlgorithms(): ("RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512")[];
constructor(jwk: KmsJwkPublicRsa);
get publicKey(): {
modulus: Uint8Array<ArrayBufferLike>;
exponent: Uint8Array<ArrayBufferLike>;
kty: "RSA";
};
/**
* Not supported for RSA
*/
get compressedPublicKey(): null;
get multicodec(): Uint8Array;
static fromPublicKey(publicKey: {
modulus: Uint8Array;
exponent: Uint8Array;
}): RsaPublicJwk;
static fromMulticodec(_multicodec: Uint8Array): RsaPublicJwk;
}
//#endregion
export { RsaPublicJwk };
//# sourceMappingURL=RsaPublicJwk.d.mts.map