Versions in this module Expand all Collapse all v1 v1.0.1 Sep 22, 2023 Changes in this version + const AtsCertChainMaxLen + type AmberClient interface + CollectToken func(adapter EvidenceAdapter, policyIds []uuid.UUID) (string, error) + GetAmberCertificates func() ([]byte, error) + GetNonce func() (*VerifierNonce, error) + GetToken func(verifierNonce *VerifierNonce, policyIds []uuid.UUID, evidence *Evidence) (string, error) + VerifyToken func(string) (*jwt.Token, error) + func New(cfg *Config) (AmberClient, error) + type AttestationTokenResponse struct + Token string + type Config struct + ApiKey string + ApiUrl string + BaseUrl string + TlsCfg *tls.Config + type Evidence struct + EventLog []byte + Evidence []byte + Type uint32 + UserData []byte + type EvidenceAdapter interface + CollectEvidence func(nonce []byte) (*Evidence, error) + type VerifierNonce struct + Iat []byte + Signature []byte + Val []byte Other modules containing this package github.com/arvind5/amber-client/go-client