Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRSAKeySize = 3072
DefaultRSAKeySize is the default size for RSA keys.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SoftKMS ¶
type SoftKMS struct{}
SoftKMS is a key manager that uses keys stored in disk.
func (*SoftKMS) CreateKey ¶
func (k *SoftKMS) CreateKey(req *apiv1.CreateKeyRequest) (*apiv1.CreateKeyResponse, error)
func (*SoftKMS) CreateSigner ¶
CreateSigner returns a new signer configured with the given signing key.
func (*SoftKMS) GetPublicKey ¶
Click to show internal directories.
Click to hide internal directories.