Versions in this module Expand all Collapse all v0 v0.16.0 Jan 18, 2021 Changes in this version + func NewCachedHttpCrlService() *cachedHttpCrlService + func NewMemoryCrlService() memoryCrlService + type CrlGetter interface + GetCrl func(url string) (*pkix.CertificateList, error) + type HttpCrlService struct + func (h HttpCrlService) GetCrl(url string) (*pkix.CertificateList, error) + type JwtX509Token struct + func (j JwtX509Token) SubjectAltNameOtherNames() ([]string, error) + type JwtX509Validator struct + func NewJwtX509Validator(roots, intermediates []*x509.Certificate, ...) *JwtX509Validator + func (validator JwtX509Validator) Parse(rawAuthToken string) (*JwtX509Token, error) + func (validator JwtX509Validator) Verify(x509Token *JwtX509Token) error + type UziEnv string + const UziAcceptation + const UziProduction + type UziSignedToken struct + func (t UziSignedToken) Contract() contract.Contract + func (t UziSignedToken) SignerAttributes() (map[string]string, error) + type UziValidator struct + func NewUziValidator(env UziEnv, contractTemplates *contract.TemplateStore, crls CrlGetter) (validator *UziValidator, err error) + func (u UziValidator) Parse(rawProofValue string) (services.SignedToken, error) + func (u UziValidator) Verify(token services.SignedToken) error