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

27 lines • 1.34 kB
import { X25519PublicJwk } from "../../../kms/jwk/kty/okp/X25519PublicJwk.mjs"; import { PublicJwk } from "../../../kms/jwk/PublicJwk.mjs"; import "../../../kms/index.mjs"; import { VerificationMethod } from "./VerificationMethod.mjs"; //#region src/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts export declare const VERIFICATION_METHOD_TYPE_X25519_KEY_AGREEMENT_KEY_2019 = "X25519KeyAgreementKey2019"; type X25519KeyAgreementKey2019 = VerificationMethod & { type: typeof VERIFICATION_METHOD_TYPE_X25519_KEY_AGREEMENT_KEY_2019; }; /** * Get a X25519KeyAgreementKey2019 verification method. */ export declare function getX25519KeyAgreementKey2019({ publicJwk, id, controller }: { id: string; publicJwk: PublicJwk<X25519PublicJwk>; controller: string; }): VerificationMethod; /** * Check whether a verification method is a X25519KeyAgreementKey2019 verification method. */ export declare function isX25519KeyAgreementKey2019(verificationMethod: VerificationMethod): verificationMethod is X25519KeyAgreementKey2019; /** * Get a key from a X25519KeyAgreementKey2019 verification method. */ export declare function getPublicJwkFrommX25519KeyAgreementKey2019(verificationMethod: X25519KeyAgreementKey2019): PublicJwk<X25519PublicJwk>; //#endregion //# sourceMappingURL=X25519KeyAgreementKey2019.d.mts.map