Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockVCSKeyManager
- func (m *MockVCSKeyManager) CreateCryptoKey(keyType kms.KeyType) (string, interface{}, error)
- func (m *MockVCSKeyManager) CreateJWKKey(keyType kms.KeyType) (string, *jwk.JWK, error)
- func (m *MockVCSKeyManager) EXPECT() *MockVCSKeyManagerMockRecorder
- func (m *MockVCSKeyManager) NewVCSigner(creator string, signatureType verifiable.SignatureType) (vc.SignerAlgorithm, error)
- func (m *MockVCSKeyManager) SupportedKeyTypes() []kms.KeyType
- type MockVCSKeyManagerMockRecorder
- func (mr *MockVCSKeyManagerMockRecorder) CreateCryptoKey(keyType interface{}) *gomock.Call
- func (mr *MockVCSKeyManagerMockRecorder) CreateJWKKey(keyType interface{}) *gomock.Call
- func (mr *MockVCSKeyManagerMockRecorder) NewVCSigner(creator, signatureType interface{}) *gomock.Call
- func (mr *MockVCSKeyManagerMockRecorder) SupportedKeyTypes() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVCSKeyManager ¶
type MockVCSKeyManager struct {
// contains filtered or unexported fields
}
MockVCSKeyManager is a mock of VCSKeyManager interface.
func NewMockVCSKeyManager ¶
func NewMockVCSKeyManager(ctrl *gomock.Controller) *MockVCSKeyManager
NewMockVCSKeyManager creates a new mock instance.
func (*MockVCSKeyManager) CreateCryptoKey ¶
func (m *MockVCSKeyManager) CreateCryptoKey(keyType kms.KeyType) (string, interface{}, error)
CreateCryptoKey mocks base method.
func (*MockVCSKeyManager) CreateJWKKey ¶
CreateJWKKey mocks base method.
func (*MockVCSKeyManager) EXPECT ¶
func (m *MockVCSKeyManager) EXPECT() *MockVCSKeyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVCSKeyManager) NewVCSigner ¶
func (m *MockVCSKeyManager) NewVCSigner(creator string, signatureType verifiable.SignatureType) (vc.SignerAlgorithm, error)
NewVCSigner mocks base method.
func (*MockVCSKeyManager) SupportedKeyTypes ¶
func (m *MockVCSKeyManager) SupportedKeyTypes() []kms.KeyType
SupportedKeyTypes mocks base method.
type MockVCSKeyManagerMockRecorder ¶
type MockVCSKeyManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockVCSKeyManagerMockRecorder is the mock recorder for MockVCSKeyManager.
func (*MockVCSKeyManagerMockRecorder) CreateCryptoKey ¶
func (mr *MockVCSKeyManagerMockRecorder) CreateCryptoKey(keyType interface{}) *gomock.Call
CreateCryptoKey indicates an expected call of CreateCryptoKey.
func (*MockVCSKeyManagerMockRecorder) CreateJWKKey ¶
func (mr *MockVCSKeyManagerMockRecorder) CreateJWKKey(keyType interface{}) *gomock.Call
CreateJWKKey indicates an expected call of CreateJWKKey.
func (*MockVCSKeyManagerMockRecorder) NewVCSigner ¶
func (mr *MockVCSKeyManagerMockRecorder) NewVCSigner(creator, signatureType interface{}) *gomock.Call
NewVCSigner indicates an expected call of NewVCSigner.
func (*MockVCSKeyManagerMockRecorder) SupportedKeyTypes ¶
func (mr *MockVCSKeyManagerMockRecorder) SupportedKeyTypes() *gomock.Call
SupportedKeyTypes indicates an expected call of SupportedKeyTypes.