jose-0.7.0.0: Javascript Object Signing and Encryption and JSON Web Token library
Crypto.JOSE.JWK.Store
Description
A JWKStore provides JWK enumeration and lookup.
JWKStore
class JWKStore a where Source #
Minimal complete definition
keys
Methods
keys :: Fold a JWK Source #
Enumerate keys
keysFor :: (HasAlg h, HasJku h, HasJwk h, HasKid h, HasX5u h, HasX5c h, HasX5t h, HasX5tS256 h, HasTyp h, HasCty h) => KeyOp -> h p -> Fold a JWK Source #
Look up key by JWS/JWE header
Instances
keys :: Fold JWK JWK Source #
keysFor :: (HasAlg h, HasJku h, HasJwk h, HasKid h, HasX5u h, HasX5c h, HasX5t h, HasX5tS256 h, HasTyp h, HasCty h) => KeyOp -> h p -> Fold JWK JWK Source #
keys :: Fold JWKSet JWK Source #
keysFor :: (HasAlg h, HasJku h, HasJwk h, HasKid h, HasX5u h, HasX5c h, HasX5t h, HasX5tS256 h, HasTyp h, HasCty h) => KeyOp -> h p -> Fold JWKSet JWK Source #