checkSignature
Checks signature validity.
Parameters
the public key the signature was made with.
the data that was signed.
the signature algorithm to use.
the signature.
Throws
if the signature check fails.
if an error occurred during the check, for example if data is malformed.
Checks signature validity for an RSA key.
Parameters
the public key the signature was made with.
the data that was signed.
the signature algorithm to use.
the signature.
Throws
if the signature check fails.
if an error occurred during the check, for example if data is malformed.
Checks signature validity for an ML-DSA key.
Parameters
the public key the signature was made with.
the data that was signed.
the signature algorithm to use.
the signature.
Throws
if the signature check fails.
if an error occurred during the check, for example if data is malformed.
Checks signature validity.
Parameters
the public key the signature was made with.
the data that was signed.
the signature algorithm to use.
the signature.