Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentVariableKProvider ¶
type EnvironmentVariableKProvider struct {
Environment m2mams.Environment
}
func (EnvironmentVariableKProvider) LoadPrivateKey ¶
func (w EnvironmentVariableKProvider) LoadPrivateKey(_ string, context string, keyPair string) (*rsa.PrivateKey, error)
type KeyProvider ¶
type KeyProvider interface {
LoadPrivateKey(uid string, context string, keyPair string) (*rsa.PrivateKey, error)
}
func NewEnvironmentVariableKProvider ¶
func NewEnvironmentVariableKProvider() KeyProvider
func NewLocalFileSystemKProvider ¶
func NewLocalFileSystemKProvider() KeyProvider
type LocalFileSystemKProvider ¶
func (LocalFileSystemKProvider) LoadPrivateKey ¶
func (w LocalFileSystemKProvider) LoadPrivateKey(uid string, context string, keyPair string) (*rsa.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.