Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SermoDigital/jose
/ functions
Functions
264 in github.com/SermoDigital/jose
⨍
Functions
264
◇
Types & classes
30
Method
Size
Size helps implement the hash.Hash interface.
crypto/none.go:28
Method
Size
()
jws/signing_methods_test.go:20
Method
Subject
Subject retrieves claim "sub" per its type in https://tools.ietf.org/html/rfc7519#section-4.1.2
jws/claims.go:76
Method
Sum
(b []byte)
jws/signing_methods_test.go:18
Method
Sum
(b []byte)
jws/signing_methods_test.go:43
Function
TestBase64
(t *testing.T)
base64_test.go:8
Function
TestBasicHeaderFunctions
(t *testing.T)
header_test.go:50
Function
TestBasicJWT
(t *testing.T)
jws/jwt_test.go:27
Function
TestCompactIntegrity
(t *testing.T)
jws/jws_serialize_test.go:99
Function
TestComplexPayloadMarshal
(t *testing.T)
jws/payload_test.go:28
Function
TestFlatIntegrity
(t *testing.T)
jws/jws_serialize_test.go:73
Function
TestGeneralIntegrity
(t *testing.T)
jws/jws_serialize_test.go:47
Function
TestGetAndSetTime
(t *testing.T)
jwt/claims_test.go:137
Function
TestJWTValidator
(t *testing.T)
jws/jwt_test.go:50
Function
TestMarshalHeader
(t *testing.T)
header_test.go:29
Function
TestMarshalProtectedHeader
(t *testing.T)
header_test.go:8
Function
TestMarshalRawBase64
(t *testing.T)
jws/rawbase64_test.go:9
Function
TestMarshalSignature
(t *testing.T)
crypto/signature_test.go:9
Function
TestMultipleAudienceBug_AfterMarshal
(t *testing.T)
jwt/claims_test.go:12
Function
TestMultipleAudienceFix_AfterMarshal
(t *testing.T)
jwt/claims_test.go:38
Function
TestParseCompact
(t *testing.T)
jws/jws_test.go:53
Function
TestParseCompactWithUnmarshaler
(t *testing.T)
jws/jws_test.go:75
Function
TestParseGeneral
(t *testing.T)
jws/jws_test.go:91
Function
TestParseWithUnmarshaler
(t *testing.T)
jws/jws_test.go:35
Function
TestPayloadMarshal
(t *testing.T)
jws/payload_test.go:10
Function
TestRegisterSigningMethod
GetSigningMethod is implicitly tested inside the following two functions.
jws/signing_methods_test.go:48
Function
TestRemoveSigningMethod
(t *testing.T)
jws/signing_methods_test.go:59
Function
TestSingleAudienceFix_AfterMarshal
(t *testing.T)
jwt/claims_test.go:64
Function
TestTimeValuesThroughJSON
TestTimeValuesThroughJSON verifies that the time values that are set via the Set{IssuedAt,NotBefore,Expiration}() methods can actually be parsed back
jwt/claims_test.go:161
Function
TestValidAudience
(t *testing.T)
jwt/eq_test.go:9
Function
TestValidate
(t *testing.T)
jwt/claims_test.go:89
Function
TestVerify
(t *testing.T)
jws/jws_test.go:307
Function
TestVerifyCallback
(t *testing.T)
jws/jws_test.go:324
Function
TestVerifyCallbackErr
(t *testing.T)
jws/jws_test.go:345
Function
TestVerifyMulti
(t *testing.T)
jws/jws_test.go:117
Function
TestVerifyMultiMismatchedAlgs
(t *testing.T)
jws/jws_test.go:165
Function
TestVerifyMultiNotEnoughKeys
(t *testing.T)
jws/jws_test.go:225
Function
TestVerifyMultiNotEnoughMethods
(t *testing.T)
jws/jws_test.go:199
Function
TestVerifyMultiOneKey
(t *testing.T)
jws/jws_test.go:141
Function
TestVerifyMultiSigningOpts
(t *testing.T)
jws/jws_test.go:249
Function
TestVerifyMultiSigningOptsErr
(t *testing.T)
jws/jws_test.go:278
Function
TestVerifyNoSBs
(t *testing.T)
jws/jws_test.go:366
Method
UnmarshalJSON
UnmarshalJSON implements json.Unmarshaler for signature.
crypto/signature.go:23
Method
UnmarshalJSON
MarshalJSON implements json.Unmarshaler for rawBase64.
jws/rawbase64.go:17
Method
UnmarshalJSON
UnmarshalJSON implements json.Unmarshaler for Claims.
jws/claims.go:45
Method
UnmarshalJSON
UnmarshalJSON implements json.Unmarshaler for Claims.
jwt/claims.go:74
Method
Validate
(key interface{}, m crypto.SigningMethod, v ...*jwt.Validator)
jws/jwt.go:74
Method
Validate
Validate returns any errors found while validating the provided SigningOpts. The receiver validates |have|. It'll return an error if the passed Signin
jws/jws_validate.go:168
Method
Validate
Validate validates the Claims per the claims found in https://tools.ietf.org/html/rfc7519#section-4.1
jwt/claims.go:17
Method
Verify
Verify implements the Verify method from SigningMethod. For this signing method, must be an *rsa.PublicKey.
crypto/rsa.go:43
Method
Verify
Verify implements the Verify method from SigningMethod. For this verify method, key must be an *ecdsa.PublicKey.
crypto/ecdsa.go:56
Method
Verify
Verify implements the Verify method from SigningMethod. For this verify method, key must be an *rsa.PublicKey.
crypto/rsa_pss.go:59
Method
Verify
Verify implements the Verify method from SigningMethod. For this signing method, must be a []byte.
crypto/hmac.go:47
Method
Verify
Verify helps implement the SigningMethod interface.
crypto/none.go:47
Method
Verify
(_ []byte, _ c.Signature, _ interface{})
jws/signing_methods_test.go:34
Method
VerifyCallback
VerifyCallback validates the current JWS' signature as-is. It accepts a callback function that can be used to access header parameters to lookup neede
jws/jws_validate.go:22
Method
cache
cache marshals the protected and unprotected headers, but only if they've changed since their last cache.
jws/jws_serialize.go:113
Function
h
h is passed to crypto.RegisterHash.
crypto/none.go:15
Function
init
()
crypto/none.go:10
Function
init
()
jws/jws_serialize_test.go:39
Function
init
()
jws/jws.go:408
Function
init
()
jws/signing_methods_test.go:12
Function
init
()
jws/stubs_test.go:44
Function
main
()
jws/test/test.go:13
← previous
201–264 of 264, ranked by callers