# Functions
BrokerRSAPublicKey will broker a public key from a source on an interval.
MockRSAPublicKey resolves any source and returns a mocked RSAPublicKeyCopier and Renewer.
# Variables
ErrEmptyFilePath represents an error for when an expected file path is an empty string.
ErrEmptyURL represents an error for when an expected url is an empty string.
ErrNoSourcesResolved represents an error for when no sources could be resolved at all.
JWTPublicKeyDefaultFileSource represents the source of an RSA public key on disk.
JWTPublicKeyEnvFileSource represents the source of an RSA public key on disk.
JWTPublicKeyEnvHTTPSource represents the source of an RSA public key at a HTTP GET destination.
JWTPublicKeyEnvStringSource represents the source of an RSA public key as a string.
JWTPublicKeySources represents a chain of sources for JWT Public Keys.
# Structs
ErrGetKeySource represents an error when failing to get the source.
ErrReadResponse represents an error when failing to read the source data.
RSAPublicKeyBroker defines the implementation for brokering an RSA public key.
RSAPublicKeyBrokerMock defines the implementation for brokering an RSA public key during testing.
# Interfaces
Renewer represents behaviour for marking a broker for renewal.
RSAPublicKeyCopier represents behaviour for distributing copies of public keys.
RSAPublicKeyCopierRenewer represents the combination of a Copier and Renewer interface.
Source represents one or a chain of sources.
# Type aliases
FileSource defines a path to a file on disk.
HTTPSource defines a source with a URL to resolve over HTTP.
Sources defines a chain of sources.
StringSource defines the source as a string.