Skip to main content

generateJwkFromVerificationMethod() function

Signature:

export declare function generateJwkFromVerificationMethod(
keyType: JwkDidSupportedKeyTypes,
key: VerificationMethod,
keyUse?: KeyUse,
): JsonWebKey | undefined

Parameters

ParameterTypeDescription
keyTypeJwkDidSupportedKeyTypes
keyVerificationMethod
keyUseKeyUse(Optional)

Returns:

JsonWebKey | undefined