Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatapathSecret ¶
GetDatapathSecret returns the secrets
func UpdateDatapathSecrets ¶
UpdateDatapathSecrets updates the secrets
Types ¶
type KeyAccessor ¶
type KeyAccessor interface { PrivateKey() *PrivateKey DecodingKeyV1() []byte DecodingKeyV2() []byte }
KeyAccessor holds the ephemeral key functions
func NewWithRenewal ¶
func NewWithRenewal() (KeyAccessor, error)
NewWithRenewal creates a new key accessor and renews it every keyInterval
type PrivateKey ¶
type PrivateKey struct { *ecdsa.PrivateKey PrivateKeyString string }
PrivateKey struct holds the ecdsa private key and its encoded string
Directories ¶
Path | Synopsis |
---|---|
Package mockephemeralkeys is a generated GoMock package.
|
Package mockephemeralkeys is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.