package jose
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Jose.HeaderSource
Source
type t = {alg : Jwa.alg;jku : string option;jwk : Jwk.public Jwk.t option;kid : string option;x5t : string option;x5t256 : string option;typ : string option;cty : string option;enc : Jwa.enc option;
}The header has the following properties: - alg Jwa - RS256 and none is currently the only supported algs - jku JWK Set URL - jwk JSON Web Key
kidKey ID - We currently always expect this to be there, this can change in the future -x5tX.509 Certificate SHA-1 Thumbprint -x5t#S256X.509 Certificate SHA-256 Thumbprint -typType -ctyContent Type Not implemented: -x5uX.509 URL -x5cX.509 Certficate Chain -critCritical
make_header typ alg enc jwk if alg is not provided it will be derived from jwk.