View Source GoogleCerts.Certificates (Google Certificates v1.0.0)
Struct that holds a list of Google.Oauth2.Certificate structs with their expiration time algorithm and version
Link to this section Summary
Functions
Returns a GoogleCerts.Certificates from the provided json or raw elixir map
Returns true if expire is is less than the current UTC time.
Returns a GoogleCerts.Certificate for a given kid that is in certs
Link to this section Types
Specs
t() :: %GoogleCerts.Certificates{
algorithm: String.t(),
certs: [GoogleCerts.Certificate.t()],
expire: DateTime.t(),
version: integer()
}
Specs
t(certs, expire, algorithm, version) :: %GoogleCerts.Certificates{
algorithm: algorithm,
certs: certs,
expire: expire,
version: version
}
Link to this section Functions
Specs
Specs
Returns a GoogleCerts.Certificates from the provided json or raw elixir map
Specs
Returns true if expire is is less than the current UTC time.
Specs
find(t(), String.t()) :: GoogleCerts.Certificate.t() | nil
Returns a GoogleCerts.Certificate for a given kid that is in certs
Specs
new() :: t()
Specs
set_expiration(t(), DateTime.t()) :: t()