Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemSecrets ¶
type FileSystemSecrets struct {
// contains filtered or unexported fields
}
func (*FileSystemSecrets) PrivateKey ¶
func (f *FileSystemSecrets) PrivateKey() (*rsa.PrivateKey, error)
func (*FileSystemSecrets) PublicKey ¶
func (f *FileSystemSecrets) PublicKey() (*rsa.PublicKey, error)
func (*FileSystemSecrets) TLSCertificate ¶
func (f *FileSystemSecrets) TLSCertificate() (*tls.Certificate, error)
type FileSystemSecretsConfig ¶
type Secrets ¶
type Secrets interface { PrivateKey() (*rsa.PrivateKey, error) PublicKey() (*rsa.PublicKey, error) TLSCertificate() (*tls.Certificate, error) }
func NewFileSystemSecrets ¶
func NewFileSystemSecrets(conf *FileSystemSecretsConfig) (Secrets, error)
Click to show internal directories.
Click to hide internal directories.