Instance Methodvapor.jwt-kit 5.1.2JWTKit->Crypto
isValidSignature(_:for:)
Verifies that the P384 key signature is valid for the given digest.
func isValidSignature(_ signature: some DataProtocol, for data: some Digest) throws -> Bool
Parameters
Returns
True if the signature is valid for the given digest, false otherwise.
Throws
If there is a problem verifying the signature.