|
@@ -44,10 +44,10 @@ var generateKey = func(kty, crv string, size int) (interface{}, interface{}, err
|
|
|
return keys.GenerateKeyPair(kty, crv, size)
|
|
return keys.GenerateKeyPair(kty, crv, size)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// SoftKSM is a key manager that uses keys stored in disk.
|
|
|
|
|
|
|
+// SoftKMS is a key manager that uses keys stored in disk.
|
|
|
type SoftKMS struct{}
|
|
type SoftKMS struct{}
|
|
|
|
|
|
|
|
-// New returns a new SoftKSM.
|
|
|
|
|
|
|
+// New returns a new SoftKMS.
|
|
|
func New(ctx context.Context, opts apiv1.Options) (*SoftKMS, error) {
|
|
func New(ctx context.Context, opts apiv1.Options) (*SoftKMS, error) {
|
|
|
return &SoftKMS{}, nil
|
|
return &SoftKMS{}, nil
|
|
|
}
|
|
}
|