UNPKG

@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

19 lines • 996 B
import { KmsJwkPrivateAsymmetric, KmsJwkPublicAsymmetric } from "./knownJwk.mjs"; //#region src/modules/kms/jwk/equals.d.ts /** * Checks if two JWK public keys have matching key types * Supports EC, OKP, and RSA key types */ export declare function asymmetricJwkKeyTypeMatches(first: KmsJwkPublicAsymmetric | KmsJwkPrivateAsymmetric, second: KmsJwkPublicAsymmetric | KmsJwkPrivateAsymmetric): boolean; /** * Checks if two JWK public keys have matching key types * Supports EC, OKP, and RSA key types */ export declare function assertAsymmetricJwkKeyTypeMatches(first: KmsJwkPublicAsymmetric | KmsJwkPrivateAsymmetric, second: KmsJwkPublicAsymmetric | KmsJwkPrivateAsymmetric): asserts first is typeof second; /** * Checks if two JWK public keys have matching key material * Supports EC, OKP, and RSA key types */ export declare function asymmetricPublicJwkMatches(first: KmsJwkPublicAsymmetric, second: KmsJwkPublicAsymmetric): boolean; //#endregion //# sourceMappingURL=equals.d.mts.map