MCPcopy Create free account
hub / github.com/SermoDigital/jose / Verify

Method Verify

crypto/signing_method.go:14–14  ·  view source on GitHub ↗

Verify accepts the raw content, the signature, and the key used to sign the raw content, and returns any errors found while validating the signature and content.

(raw []byte, sig Signature, key interface{})

Source from the content-addressed store, hash-verified

12 // to sign the raw content, and returns any errors found while validating
13 // the signature and content.
14 Verify(raw []byte, sig Signature, key interface{}) error
15
16 // Sign returns a Signature for the raw bytes, as well as any errors
17 // that occurred during the signing.

Callers 1

VerifyMethod · 0.65

Implementers 5

SigningMethodRSAcrypto/rsa.go
SigningMethodECDSAcrypto/ecdsa.go
SigningMethodHMACcrypto/hmac.go
SigningMethodNonecrypto/none.go
TestSigningMethodjws/signing_methods_test.go

Calls

no outgoing calls

Tested by

no test coverage detected