Documentation ¶
Index ¶
- type HSMKeyStore
- func (ks *HSMKeyStore) GetKey(ctx context.Context, keyID string) (*KeyMetadata, error)
- func (ks *HSMKeyStore) ListKeys(ctx context.Context, filter map[string]string) ([]*KeyMetadata, error)
- func (ks *HSMKeyStore) RevokeKey(ctx context.Context, keyID string) error
- func (ks *HSMKeyStore) StoreKey(ctx context.Context, keyType string, key []byte, metadata *KeyMetadata) error
- type KeyMetadata
- type KeyStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HSMKeyStore ¶
type HSMKeyStore struct {
// contains filtered or unexported fields
}
func NewHSMKeyStore ¶
func NewHSMKeyStore(metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer) *HSMKeyStore
func (*HSMKeyStore) GetKey ¶
func (ks *HSMKeyStore) GetKey(ctx context.Context, keyID string) (*KeyMetadata, error)
func (*HSMKeyStore) ListKeys ¶
func (ks *HSMKeyStore) ListKeys(ctx context.Context, filter map[string]string) ([]*KeyMetadata, error)
func (*HSMKeyStore) RevokeKey ¶
func (ks *HSMKeyStore) RevokeKey(ctx context.Context, keyID string) error
func (*HSMKeyStore) StoreKey ¶
func (ks *HSMKeyStore) StoreKey(ctx context.Context, keyType string, key []byte, metadata *KeyMetadata) error
type KeyMetadata ¶
Click to show internal directories.
Click to hide internal directories.