jose-0.6.0.3: Javascript Object Signing and Encryption and JSON Web Token library

Safe HaskellNone
LanguageHaskell98

Crypto.JOSE.JWK.Store

Description

A JWKStore provides JWK enumeration and lookup.

Documentation

class JWKStore a where #

Minimal complete definition

keys

Methods

keys :: Fold a JWK #

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 #

Look up key by JWS/JWE header

Instances

JWKStore JWK # 

Methods

keys :: Fold JWK JWK #

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 #

JWKStore JWKSet # 

Methods

keys :: Fold JWKSet JWK #

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 #