Google Certificates v0.1.2 GoogleCerts.Certificates View Source

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

Link to this type

t()

View Source
t() :: %GoogleCerts.Certificates{
  algorithm: String.t(),
  certs: [GoogleCerts.Certificate.t()],
  expire: DateTime.t(),
  version: integer()
}
Link to this type

t(certs, expire, algorithm, version)

View Source
t(certs, expire, algorithm, version) :: %GoogleCerts.Certificates{
  algorithm: algorithm,
  certs: certs,
  expire: expire,
  version: version
}

Link to this section 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