package
0.5.12
Repository: https://github.com/covid19cz/erouska-backend.git
Documentation: pkg.go.dev

# Functions

CalculateExposureKeysHMAC calculates HMAC of given keys.
GetCertificateFingerprint Gets fingerprint of given cert.
GetCertificateSubject Gets subject of given cert.
GetEfgsEnvironmentOrFail Gets EFGS environment from ENV variable and fails if it's not available.
GetEfgsURLOrFail Gets EFGS url from secrets and fails if it's not available.
LoadX509KeyPair Loads certificate and key pair from Secrets Manager.
NewEFGSClient Creates new secured client for EFGS.

# Constants

EnvAcc Acc env of EFGS.
EnvLocal Our local testing environment.
EnvProd Prod env of EFGS.
NBBS National backend batch-signing certificate.
NBTLS National backend mTLS certificate.

# Variables

EfgsExtendedLogging Determines whether extended logging should be used - e.g.

# Structs

X509KeyPair X509 certificate and private key pair.

# Type aliases

CertType Type of certificate to work with.
Environment Environment of EFGS.