verifyEd25519
@iota/identity-wasm API documentation
Function: verifyEd25519()
verifyEd25519(
alg,signingInput,decodedSignature,publicKey):void
Verify a JWS signature secured with the EdDSA algorithm and curve Ed25519.
This function is useful when one is composing a IJwsVerifier that delegates
EdDSA verification with curve Ed25519 to this function.
Warning
This function does not check whether alg = EdDSA in the protected header. Callers are expected to assert this
prior to calling the function.
Parameters
alg
signingInput
Uint8Array
decodedSignature
Uint8Array
publicKey
Returns
void