Documentation
¶
Index ¶
- type MockKMS
- func (m *MockKMS) CreateCryptoKey(_ kmsapi.KeyType) (string, interface{}, error)
- func (m *MockKMS) CreateJWKKey(_ kmsapi.KeyType) (string, *jwk.JWK, error)
- func (m *MockKMS) NewVCSigner(creator string, signatureType vcsverifiable.SignatureType) (vc.SignerAlgorithm, error)
- func (m *MockKMS) SupportedKeyTypes() []kmsapi.KeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKMS ¶
type MockKMS struct { Signer api.KMSCryptoMultiSigner FixedSigner api.FixedKeyMultiSigner VCSignerErr error KeyTypes []kmsapi.KeyType }
MockKMS mocks kms.VCSKeyManager.
Set either MockKMS.Signer or MockKMS.FixedSigner.
func (*MockKMS) CreateCryptoKey ¶
CreateCryptoKey unimplemented stub.
func (*MockKMS) CreateJWKKey ¶
CreateJWKKey unimplemented stub.
func (*MockKMS) NewVCSigner ¶
func (m *MockKMS) NewVCSigner(creator string, signatureType vcsverifiable.SignatureType) (vc.SignerAlgorithm, error)
NewVCSigner mock.
func (*MockKMS) SupportedKeyTypes ¶
SupportedKeyTypes unimplemented stub.
Click to show internal directories.
Click to hide internal directories.