Google Certificates v0.1.2 GoogleCerts.Certificate View Source

Struct to associate a kid to a certificate map.

kid is the id and cert can either be a map with a pem or a JWK map

version 1 cert is %{"pem" => "-----BEGIN CERTIFICATE----- ..."} version 3 cert is %{"kid" => "53c66aab5...". "e" => "AQAB", ...}

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleCerts.Certificate{cert: map(), kid: String.t()}
Link to this type

t(kid, cert)

View Source
t(kid, cert) :: %GoogleCerts.Certificate{cert: cert, kid: kid}

Link to this section Functions

Link to this function

decode!(cert)

View Source
decode!(map()) :: t() | no_return()