Documentation
¶
Overview ¶
Package crypto is a generated GoMock package.
Package crypto is a generated GoMock package.
Index ¶
- type MockCryptor
- type MockCryptorMockRecorder
- type MockDecKey
- type MockDecKeyMockRecorder
- func (mr *MockDecKeyMockRecorder) Bytes() *gomock.Call
- func (mr *MockDecKeyMockRecorder) Decrypt(cipher interface{}) *gomock.Call
- func (mr *MockDecKeyMockRecorder) Destroy() *gomock.Call
- func (mr *MockDecKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
- func (mr *MockDecKeyMockRecorder) GetKeyInfo() *gomock.Call
- type MockDecryptor
- type MockDecryptorMockRecorder
- type MockEncKey
- type MockEncKeyMockRecorder
- type MockEncryptor
- type MockEncryptorMockRecorder
- type MockEngine
- func (m *MockEngine) CreateDecKey(persistent bool, mode int) ([]byte, crypto.DecKey, error)
- func (m *MockEngine) CreateSignKey(persistent bool, mode int) ([]byte, crypto.SignKey, error)
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) GetDecKey(key []byte, mode int) (crypto.DecKey, error)
- func (m *MockEngine) GetDefaultAlgo() (int, int)
- func (m *MockEngine) GetEncKey(key []byte, mode int) (crypto.EncKey, error)
- func (m *MockEngine) GetHash(mode int) (crypto.Hasher, error)
- func (m *MockEngine) GetLevel() ([]int, uint8)
- func (m *MockEngine) GetSecretKey(mode int, pwd, key []byte) (crypto.SecretKey, error)
- func (m *MockEngine) GetSignKey(key []byte, mode int) (crypto.SignKey, error)
- func (m *MockEngine) GetVerifyKey(key []byte, mode int) (crypto.VerifyKey, error)
- func (m *MockEngine) ImportDecKey(key []byte, mode int) ([]byte, error)
- func (m *MockEngine) ImportSignKey(key []byte, mode int) ([]byte, error)
- func (m *MockEngine) Rander() (io.Reader, error)
- func (m *MockEngine) SetAlgo(arg0 []byte) error
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) CreateDecKey(persistent, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) CreateSignKey(persistent, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetDecKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetDefaultAlgo() *gomock.Call
- func (mr *MockEngineMockRecorder) GetEncKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetHash(mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetLevel() *gomock.Call
- func (mr *MockEngineMockRecorder) GetSecretKey(mode, pwd, key interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetSignKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetVerifyKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ImportDecKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) ImportSignKey(key, mode interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Rander() *gomock.Call
- func (mr *MockEngineMockRecorder) SetAlgo(arg0 interface{}) *gomock.Call
- type MockFlagReader
- type MockFlagReaderMockRecorder
- type MockHasher
- func (m *MockHasher) BatchHash(msg [][]byte) ([]byte, error)
- func (m *MockHasher) BlockSize() int
- func (m *MockHasher) EXPECT() *MockHasherMockRecorder
- func (m *MockHasher) Hash(msg []byte) ([]byte, error)
- func (m *MockHasher) Reset()
- func (m *MockHasher) Size() int
- func (m *MockHasher) Sum(b []byte) []byte
- func (m *MockHasher) Write(p []byte) (int, error)
- type MockHasherMockRecorder
- func (mr *MockHasherMockRecorder) BatchHash(msg interface{}) *gomock.Call
- func (mr *MockHasherMockRecorder) BlockSize() *gomock.Call
- func (mr *MockHasherMockRecorder) Hash(msg interface{}) *gomock.Call
- func (mr *MockHasherMockRecorder) Reset() *gomock.Call
- func (mr *MockHasherMockRecorder) Size() *gomock.Call
- func (mr *MockHasherMockRecorder) Sum(b interface{}) *gomock.Call
- func (mr *MockHasherMockRecorder) Write(p interface{}) *gomock.Call
- type MockKey
- type MockKeyMockRecorder
- type MockLevel
- type MockLevelMockRecorder
- type MockPluginCreateDecKeyFunc
- type MockPluginCreateDecKeyFuncMockRecorder
- type MockPluginCreateSignFunc
- type MockPluginCreateSignFuncMockRecorder
- type MockPluginCryptFunc
- type MockPluginCryptFuncMockRecorder
- type MockPluginDecKeyFunc
- type MockPluginDecKeyFuncMockRecorder
- type MockPluginEncKeyFunc
- type MockPluginEncKeyFuncMockRecorder
- type MockPluginHashFunc
- type MockPluginHashFuncMockRecorder
- type MockPluginRandomFunc
- type MockPluginRandomFuncMockRecorder
- type MockPluginSignFunc
- type MockPluginSignFuncMockRecorder
- type MockPluginVerifyFunc
- type MockPluginVerifyFuncMockRecorder
- type MockPrivateKey
- func (m *MockPrivateKey) Bytes() []byte
- func (m *MockPrivateKey) Decrypt(cipher []byte) ([]byte, error)
- func (m *MockPrivateKey) Destroy()
- func (m *MockPrivateKey) EXPECT() *MockPrivateKeyMockRecorder
- func (m *MockPrivateKey) Encrypt(msg []byte, reader io.Reader) ([]byte, error)
- func (m *MockPrivateKey) GetKeyInfo() int
- func (m *MockPrivateKey) Sign(msg []byte, hasher hash.Hash, rand io.Reader) ([]byte, error)
- func (m *MockPrivateKey) Verify(msg []byte, hasher hash.Hash, sig []byte) bool
- type MockPrivateKeyMockRecorder
- func (mr *MockPrivateKeyMockRecorder) Bytes() *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) Decrypt(cipher interface{}) *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) Destroy() *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) GetKeyInfo() *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) Sign(msg, hasher, rand interface{}) *gomock.Call
- func (mr *MockPrivateKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
- type MockPublicKey
- type MockPublicKeyMockRecorder
- type MockSecretKey
- type MockSecretKeyMockRecorder
- type MockSignKey
- func (m *MockSignKey) Bytes() []byte
- func (m *MockSignKey) Destroy()
- func (m *MockSignKey) EXPECT() *MockSignKeyMockRecorder
- func (m *MockSignKey) GetKeyInfo() int
- func (m *MockSignKey) Sign(msg []byte, hasher hash.Hash, rand io.Reader) ([]byte, error)
- func (m *MockSignKey) Verify(msg []byte, hasher hash.Hash, sig []byte) bool
- type MockSignKeyMockRecorder
- func (mr *MockSignKeyMockRecorder) Bytes() *gomock.Call
- func (mr *MockSignKeyMockRecorder) Destroy() *gomock.Call
- func (mr *MockSignKeyMockRecorder) GetKeyInfo() *gomock.Call
- func (mr *MockSignKeyMockRecorder) Sign(msg, hasher, rand interface{}) *gomock.Call
- func (mr *MockSignKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
- type MockSigner
- type MockSignerMockRecorder
- type MockVerifier
- type MockVerifierMockRecorder
- type MockVerifyKey
- type MockVerifyKeyMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCryptor ¶
type MockCryptor struct {
// contains filtered or unexported fields
}
MockCryptor is a mock of Cryptor interface.
func NewMockCryptor ¶
func NewMockCryptor(ctrl *gomock.Controller) *MockCryptor
NewMockCryptor creates a new mock instance.
func (*MockCryptor) Decrypt ¶
func (m *MockCryptor) Decrypt(k, cipherText []byte) ([]byte, error)
Decrypt mocks base method.
func (*MockCryptor) EXPECT ¶
func (m *MockCryptor) EXPECT() *MockCryptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCryptorMockRecorder ¶
type MockCryptorMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptorMockRecorder is the mock recorder for MockCryptor.
func (*MockCryptorMockRecorder) Decrypt ¶
func (mr *MockCryptorMockRecorder) Decrypt(k, cipherText interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockCryptorMockRecorder) Encrypt ¶
func (mr *MockCryptorMockRecorder) Encrypt(k, plaintext, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
type MockDecKey ¶
type MockDecKey struct {
// contains filtered or unexported fields
}
MockDecKey is a mock of DecKey interface.
func NewMockDecKey ¶
func NewMockDecKey(ctrl *gomock.Controller) *MockDecKey
NewMockDecKey creates a new mock instance.
func (*MockDecKey) Decrypt ¶
func (m *MockDecKey) Decrypt(cipher []byte) ([]byte, error)
Decrypt mocks base method.
func (*MockDecKey) EXPECT ¶
func (m *MockDecKey) EXPECT() *MockDecKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDecKeyMockRecorder ¶
type MockDecKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockDecKeyMockRecorder is the mock recorder for MockDecKey.
func (*MockDecKeyMockRecorder) Bytes ¶
func (mr *MockDecKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockDecKeyMockRecorder) Decrypt ¶
func (mr *MockDecKeyMockRecorder) Decrypt(cipher interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockDecKeyMockRecorder) Destroy ¶
func (mr *MockDecKeyMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockDecKeyMockRecorder) Encrypt ¶
func (mr *MockDecKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockDecKeyMockRecorder) GetKeyInfo ¶
func (mr *MockDecKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
type MockDecryptor ¶
type MockDecryptor struct {
// contains filtered or unexported fields
}
MockDecryptor is a mock of Decryptor interface.
func NewMockDecryptor ¶
func NewMockDecryptor(ctrl *gomock.Controller) *MockDecryptor
NewMockDecryptor creates a new mock instance.
func (*MockDecryptor) Decrypt ¶
func (m *MockDecryptor) Decrypt(k, cipherText []byte) ([]byte, error)
Decrypt mocks base method.
func (*MockDecryptor) EXPECT ¶
func (m *MockDecryptor) EXPECT() *MockDecryptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDecryptorMockRecorder ¶
type MockDecryptorMockRecorder struct {
// contains filtered or unexported fields
}
MockDecryptorMockRecorder is the mock recorder for MockDecryptor.
func (*MockDecryptorMockRecorder) Decrypt ¶
func (mr *MockDecryptorMockRecorder) Decrypt(k, cipherText interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
type MockEncKey ¶
type MockEncKey struct {
// contains filtered or unexported fields
}
MockEncKey is a mock of EncKey interface.
func NewMockEncKey ¶
func NewMockEncKey(ctrl *gomock.Controller) *MockEncKey
NewMockEncKey creates a new mock instance.
func (*MockEncKey) EXPECT ¶
func (m *MockEncKey) EXPECT() *MockEncKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEncKeyMockRecorder ¶
type MockEncKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockEncKeyMockRecorder is the mock recorder for MockEncKey.
func (*MockEncKeyMockRecorder) Bytes ¶
func (mr *MockEncKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockEncKeyMockRecorder) Encrypt ¶
func (mr *MockEncKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockEncKeyMockRecorder) GetKeyInfo ¶
func (mr *MockEncKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
type MockEncryptor ¶
type MockEncryptor struct {
// contains filtered or unexported fields
}
MockEncryptor is a mock of Encryptor interface.
func NewMockEncryptor ¶
func NewMockEncryptor(ctrl *gomock.Controller) *MockEncryptor
NewMockEncryptor creates a new mock instance.
func (*MockEncryptor) EXPECT ¶
func (m *MockEncryptor) EXPECT() *MockEncryptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEncryptorMockRecorder ¶
type MockEncryptorMockRecorder struct {
// contains filtered or unexported fields
}
MockEncryptorMockRecorder is the mock recorder for MockEncryptor.
func (*MockEncryptorMockRecorder) Encrypt ¶
func (mr *MockEncryptorMockRecorder) Encrypt(k, plaintext, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
type MockEngine ¶
type MockEngine struct {
// contains filtered or unexported fields
}
MockEngine is a mock of Engine interface.
func NewMockEngine ¶
func NewMockEngine(ctrl *gomock.Controller) *MockEngine
NewMockEngine creates a new mock instance.
func (*MockEngine) CreateDecKey ¶
CreateDecKey mocks base method.
func (*MockEngine) CreateSignKey ¶
CreateSignKey mocks base method.
func (*MockEngine) EXPECT ¶
func (m *MockEngine) EXPECT() *MockEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEngine) GetDefaultAlgo ¶ added in v0.0.9
func (m *MockEngine) GetDefaultAlgo() (int, int)
GetDefaultAlgo mocks base method.
func (*MockEngine) GetHash ¶
func (m *MockEngine) GetHash(mode int) (crypto.Hasher, error)
GetHash mocks base method.
func (*MockEngine) GetLevel ¶
func (m *MockEngine) GetLevel() ([]int, uint8)
GetLevel mocks base method.
func (*MockEngine) GetSecretKey ¶
GetSecretKey mocks base method.
func (*MockEngine) GetSignKey ¶
GetSignKey mocks base method.
func (*MockEngine) GetVerifyKey ¶
GetVerifyKey mocks base method.
func (*MockEngine) ImportDecKey ¶
func (m *MockEngine) ImportDecKey(key []byte, mode int) ([]byte, error)
ImportDecKey mocks base method.
func (*MockEngine) ImportSignKey ¶
func (m *MockEngine) ImportSignKey(key []byte, mode int) ([]byte, error)
ImportSignKey mocks base method.
func (*MockEngine) Rander ¶
func (m *MockEngine) Rander() (io.Reader, error)
Rander mocks base method.
func (*MockEngine) SetAlgo ¶ added in v0.0.9
func (m *MockEngine) SetAlgo(arg0 []byte) error
SetAlgo mocks base method.
type MockEngineMockRecorder ¶
type MockEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEngineMockRecorder is the mock recorder for MockEngine.
func (*MockEngineMockRecorder) CreateDecKey ¶
func (mr *MockEngineMockRecorder) CreateDecKey(persistent, mode interface{}) *gomock.Call
CreateDecKey indicates an expected call of CreateDecKey.
func (*MockEngineMockRecorder) CreateSignKey ¶
func (mr *MockEngineMockRecorder) CreateSignKey(persistent, mode interface{}) *gomock.Call
CreateSignKey indicates an expected call of CreateSignKey.
func (*MockEngineMockRecorder) GetDecKey ¶
func (mr *MockEngineMockRecorder) GetDecKey(key, mode interface{}) *gomock.Call
GetDecKey indicates an expected call of GetDecKey.
func (*MockEngineMockRecorder) GetDefaultAlgo ¶ added in v0.0.9
func (mr *MockEngineMockRecorder) GetDefaultAlgo() *gomock.Call
GetDefaultAlgo indicates an expected call of GetDefaultAlgo.
func (*MockEngineMockRecorder) GetEncKey ¶
func (mr *MockEngineMockRecorder) GetEncKey(key, mode interface{}) *gomock.Call
GetEncKey indicates an expected call of GetEncKey.
func (*MockEngineMockRecorder) GetHash ¶
func (mr *MockEngineMockRecorder) GetHash(mode interface{}) *gomock.Call
GetHash indicates an expected call of GetHash.
func (*MockEngineMockRecorder) GetLevel ¶
func (mr *MockEngineMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockEngineMockRecorder) GetSecretKey ¶
func (mr *MockEngineMockRecorder) GetSecretKey(mode, pwd, key interface{}) *gomock.Call
GetSecretKey indicates an expected call of GetSecretKey.
func (*MockEngineMockRecorder) GetSignKey ¶
func (mr *MockEngineMockRecorder) GetSignKey(key, mode interface{}) *gomock.Call
GetSignKey indicates an expected call of GetSignKey.
func (*MockEngineMockRecorder) GetVerifyKey ¶
func (mr *MockEngineMockRecorder) GetVerifyKey(key, mode interface{}) *gomock.Call
GetVerifyKey indicates an expected call of GetVerifyKey.
func (*MockEngineMockRecorder) ImportDecKey ¶
func (mr *MockEngineMockRecorder) ImportDecKey(key, mode interface{}) *gomock.Call
ImportDecKey indicates an expected call of ImportDecKey.
func (*MockEngineMockRecorder) ImportSignKey ¶
func (mr *MockEngineMockRecorder) ImportSignKey(key, mode interface{}) *gomock.Call
ImportSignKey indicates an expected call of ImportSignKey.
func (*MockEngineMockRecorder) Rander ¶
func (mr *MockEngineMockRecorder) Rander() *gomock.Call
Rander indicates an expected call of Rander.
func (*MockEngineMockRecorder) SetAlgo ¶ added in v0.0.9
func (mr *MockEngineMockRecorder) SetAlgo(arg0 interface{}) *gomock.Call
SetAlgo indicates an expected call of SetAlgo.
type MockFlagReader ¶
type MockFlagReader struct {
// contains filtered or unexported fields
}
MockFlagReader is a mock of FlagReader interface.
func NewMockFlagReader ¶
func NewMockFlagReader(ctrl *gomock.Controller) *MockFlagReader
NewMockFlagReader creates a new mock instance.
func (*MockFlagReader) EXPECT ¶
func (m *MockFlagReader) EXPECT() *MockFlagReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFlagReaderMockRecorder ¶
type MockFlagReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockFlagReaderMockRecorder is the mock recorder for MockFlagReader.
func (*MockFlagReaderMockRecorder) GetFlag ¶
func (mr *MockFlagReaderMockRecorder) GetFlag() *gomock.Call
GetFlag indicates an expected call of GetFlag.
func (*MockFlagReaderMockRecorder) Read ¶
func (mr *MockFlagReaderMockRecorder) Read(p interface{}) *gomock.Call
Read indicates an expected call of Read.
type MockHasher ¶
type MockHasher struct {
// contains filtered or unexported fields
}
MockHasher is a mock of Hasher interface.
func NewMockHasher ¶
func NewMockHasher(ctrl *gomock.Controller) *MockHasher
NewMockHasher creates a new mock instance.
func (*MockHasher) BatchHash ¶
func (m *MockHasher) BatchHash(msg [][]byte) ([]byte, error)
BatchHash mocks base method.
func (*MockHasher) EXPECT ¶
func (m *MockHasher) EXPECT() *MockHasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHasherMockRecorder ¶
type MockHasherMockRecorder struct {
// contains filtered or unexported fields
}
MockHasherMockRecorder is the mock recorder for MockHasher.
func (*MockHasherMockRecorder) BatchHash ¶
func (mr *MockHasherMockRecorder) BatchHash(msg interface{}) *gomock.Call
BatchHash indicates an expected call of BatchHash.
func (*MockHasherMockRecorder) BlockSize ¶
func (mr *MockHasherMockRecorder) BlockSize() *gomock.Call
BlockSize indicates an expected call of BlockSize.
func (*MockHasherMockRecorder) Hash ¶
func (mr *MockHasherMockRecorder) Hash(msg interface{}) *gomock.Call
Hash indicates an expected call of Hash.
func (*MockHasherMockRecorder) Reset ¶
func (mr *MockHasherMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockHasherMockRecorder) Size ¶
func (mr *MockHasherMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockHasherMockRecorder) Sum ¶
func (mr *MockHasherMockRecorder) Sum(b interface{}) *gomock.Call
Sum indicates an expected call of Sum.
func (*MockHasherMockRecorder) Write ¶
func (mr *MockHasherMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockKey ¶
type MockKey struct {
// contains filtered or unexported fields
}
MockKey is a mock of Key interface.
func NewMockKey ¶
func NewMockKey(ctrl *gomock.Controller) *MockKey
NewMockKey creates a new mock instance.
func (*MockKey) EXPECT ¶
func (m *MockKey) EXPECT() *MockKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeyMockRecorder ¶
type MockKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyMockRecorder is the mock recorder for MockKey.
func (*MockKeyMockRecorder) Bytes ¶
func (mr *MockKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockKeyMockRecorder) FromBytes ¶
func (mr *MockKeyMockRecorder) FromBytes(k, opt interface{}) *gomock.Call
FromBytes indicates an expected call of FromBytes.
type MockLevel ¶
type MockLevel struct {
// contains filtered or unexported fields
}
MockLevel is a mock of Level interface.
func NewMockLevel ¶
func NewMockLevel(ctrl *gomock.Controller) *MockLevel
NewMockLevel creates a new mock instance.
func (*MockLevel) EXPECT ¶
func (m *MockLevel) EXPECT() *MockLevelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLevelMockRecorder ¶
type MockLevelMockRecorder struct {
// contains filtered or unexported fields
}
MockLevelMockRecorder is the mock recorder for MockLevel.
func (*MockLevelMockRecorder) GetLevel ¶
func (mr *MockLevelMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
type MockPluginCreateDecKeyFunc ¶
type MockPluginCreateDecKeyFunc struct {
// contains filtered or unexported fields
}
MockPluginCreateDecKeyFunc is a mock of PluginCreateDecKeyFunc interface.
func NewMockPluginCreateDecKeyFunc ¶
func NewMockPluginCreateDecKeyFunc(ctrl *gomock.Controller) *MockPluginCreateDecKeyFunc
NewMockPluginCreateDecKeyFunc creates a new mock instance.
func (*MockPluginCreateDecKeyFunc) CreateDecKey ¶
func (m *MockPluginCreateDecKeyFunc) CreateDecKey(persistent bool, mode int) ([]byte, crypto.DecKey, error)
CreateDecKey mocks base method.
func (*MockPluginCreateDecKeyFunc) EXPECT ¶
func (m *MockPluginCreateDecKeyFunc) EXPECT() *MockPluginCreateDecKeyFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginCreateDecKeyFunc) GetLevel ¶
func (m *MockPluginCreateDecKeyFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
type MockPluginCreateDecKeyFuncMockRecorder ¶
type MockPluginCreateDecKeyFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginCreateDecKeyFuncMockRecorder is the mock recorder for MockPluginCreateDecKeyFunc.
func (*MockPluginCreateDecKeyFuncMockRecorder) CreateDecKey ¶
func (mr *MockPluginCreateDecKeyFuncMockRecorder) CreateDecKey(persistent, mode interface{}) *gomock.Call
CreateDecKey indicates an expected call of CreateDecKey.
func (*MockPluginCreateDecKeyFuncMockRecorder) GetLevel ¶
func (mr *MockPluginCreateDecKeyFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
type MockPluginCreateSignFunc ¶
type MockPluginCreateSignFunc struct {
// contains filtered or unexported fields
}
MockPluginCreateSignFunc is a mock of PluginCreateSignFunc interface.
func NewMockPluginCreateSignFunc ¶
func NewMockPluginCreateSignFunc(ctrl *gomock.Controller) *MockPluginCreateSignFunc
NewMockPluginCreateSignFunc creates a new mock instance.
func (*MockPluginCreateSignFunc) CreateSignKey ¶
func (m *MockPluginCreateSignFunc) CreateSignKey(persistent bool, mode int) ([]byte, crypto.SignKey, error)
CreateSignKey mocks base method.
func (*MockPluginCreateSignFunc) EXPECT ¶
func (m *MockPluginCreateSignFunc) EXPECT() *MockPluginCreateSignFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginCreateSignFunc) GetLevel ¶
func (m *MockPluginCreateSignFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
type MockPluginCreateSignFuncMockRecorder ¶
type MockPluginCreateSignFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginCreateSignFuncMockRecorder is the mock recorder for MockPluginCreateSignFunc.
func (*MockPluginCreateSignFuncMockRecorder) CreateSignKey ¶
func (mr *MockPluginCreateSignFuncMockRecorder) CreateSignKey(persistent, mode interface{}) *gomock.Call
CreateSignKey indicates an expected call of CreateSignKey.
func (*MockPluginCreateSignFuncMockRecorder) GetLevel ¶
func (mr *MockPluginCreateSignFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
type MockPluginCryptFunc ¶
type MockPluginCryptFunc struct {
// contains filtered or unexported fields
}
MockPluginCryptFunc is a mock of PluginCryptFunc interface.
func NewMockPluginCryptFunc ¶
func NewMockPluginCryptFunc(ctrl *gomock.Controller) *MockPluginCryptFunc
NewMockPluginCryptFunc creates a new mock instance.
func (*MockPluginCryptFunc) EXPECT ¶
func (m *MockPluginCryptFunc) EXPECT() *MockPluginCryptFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginCryptFunc) GetLevel ¶
func (m *MockPluginCryptFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
func (*MockPluginCryptFunc) GetSecretKey ¶
GetSecretKey mocks base method.
type MockPluginCryptFuncMockRecorder ¶
type MockPluginCryptFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginCryptFuncMockRecorder is the mock recorder for MockPluginCryptFunc.
func (*MockPluginCryptFuncMockRecorder) GetLevel ¶
func (mr *MockPluginCryptFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockPluginCryptFuncMockRecorder) GetSecretKey ¶
func (mr *MockPluginCryptFuncMockRecorder) GetSecretKey(mode, pwd, key interface{}) *gomock.Call
GetSecretKey indicates an expected call of GetSecretKey.
type MockPluginDecKeyFunc ¶
type MockPluginDecKeyFunc struct {
// contains filtered or unexported fields
}
MockPluginDecKeyFunc is a mock of PluginDecKeyFunc interface.
func NewMockPluginDecKeyFunc ¶
func NewMockPluginDecKeyFunc(ctrl *gomock.Controller) *MockPluginDecKeyFunc
NewMockPluginDecKeyFunc creates a new mock instance.
func (*MockPluginDecKeyFunc) EXPECT ¶
func (m *MockPluginDecKeyFunc) EXPECT() *MockPluginDecKeyFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginDecKeyFunc) GetLevel ¶
func (m *MockPluginDecKeyFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
func (*MockPluginDecKeyFunc) ImportDecKey ¶
func (m *MockPluginDecKeyFunc) ImportDecKey(key []byte, mode int) ([]byte, error)
ImportDecKey mocks base method.
type MockPluginDecKeyFuncMockRecorder ¶
type MockPluginDecKeyFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginDecKeyFuncMockRecorder is the mock recorder for MockPluginDecKeyFunc.
func (*MockPluginDecKeyFuncMockRecorder) GetDecKey ¶
func (mr *MockPluginDecKeyFuncMockRecorder) GetDecKey(key, mode interface{}) *gomock.Call
GetDecKey indicates an expected call of GetDecKey.
func (*MockPluginDecKeyFuncMockRecorder) GetLevel ¶
func (mr *MockPluginDecKeyFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockPluginDecKeyFuncMockRecorder) ImportDecKey ¶
func (mr *MockPluginDecKeyFuncMockRecorder) ImportDecKey(key, mode interface{}) *gomock.Call
ImportDecKey indicates an expected call of ImportDecKey.
type MockPluginEncKeyFunc ¶
type MockPluginEncKeyFunc struct {
// contains filtered or unexported fields
}
MockPluginEncKeyFunc is a mock of PluginEncKeyFunc interface.
func NewMockPluginEncKeyFunc ¶
func NewMockPluginEncKeyFunc(ctrl *gomock.Controller) *MockPluginEncKeyFunc
NewMockPluginEncKeyFunc creates a new mock instance.
func (*MockPluginEncKeyFunc) EXPECT ¶
func (m *MockPluginEncKeyFunc) EXPECT() *MockPluginEncKeyFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginEncKeyFunc) GetLevel ¶
func (m *MockPluginEncKeyFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
type MockPluginEncKeyFuncMockRecorder ¶
type MockPluginEncKeyFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginEncKeyFuncMockRecorder is the mock recorder for MockPluginEncKeyFunc.
func (*MockPluginEncKeyFuncMockRecorder) GetEncKey ¶
func (mr *MockPluginEncKeyFuncMockRecorder) GetEncKey(key, mode interface{}) *gomock.Call
GetEncKey indicates an expected call of GetEncKey.
func (*MockPluginEncKeyFuncMockRecorder) GetLevel ¶
func (mr *MockPluginEncKeyFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
type MockPluginHashFunc ¶
type MockPluginHashFunc struct {
// contains filtered or unexported fields
}
MockPluginHashFunc is a mock of PluginHashFunc interface.
func NewMockPluginHashFunc ¶
func NewMockPluginHashFunc(ctrl *gomock.Controller) *MockPluginHashFunc
NewMockPluginHashFunc creates a new mock instance.
func (*MockPluginHashFunc) EXPECT ¶
func (m *MockPluginHashFunc) EXPECT() *MockPluginHashFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginHashFunc) GetHash ¶
func (m *MockPluginHashFunc) GetHash(mode int) (crypto.Hasher, error)
GetHash mocks base method.
func (*MockPluginHashFunc) GetLevel ¶
func (m *MockPluginHashFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
type MockPluginHashFuncMockRecorder ¶
type MockPluginHashFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginHashFuncMockRecorder is the mock recorder for MockPluginHashFunc.
func (*MockPluginHashFuncMockRecorder) GetHash ¶
func (mr *MockPluginHashFuncMockRecorder) GetHash(mode interface{}) *gomock.Call
GetHash indicates an expected call of GetHash.
func (*MockPluginHashFuncMockRecorder) GetLevel ¶
func (mr *MockPluginHashFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
type MockPluginRandomFunc ¶
type MockPluginRandomFunc struct {
// contains filtered or unexported fields
}
MockPluginRandomFunc is a mock of PluginRandomFunc interface.
func NewMockPluginRandomFunc ¶
func NewMockPluginRandomFunc(ctrl *gomock.Controller) *MockPluginRandomFunc
NewMockPluginRandomFunc creates a new mock instance.
func (*MockPluginRandomFunc) EXPECT ¶
func (m *MockPluginRandomFunc) EXPECT() *MockPluginRandomFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginRandomFunc) GetLevel ¶
func (m *MockPluginRandomFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
type MockPluginRandomFuncMockRecorder ¶
type MockPluginRandomFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginRandomFuncMockRecorder is the mock recorder for MockPluginRandomFunc.
func (*MockPluginRandomFuncMockRecorder) GetLevel ¶
func (mr *MockPluginRandomFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockPluginRandomFuncMockRecorder) Rander ¶
func (mr *MockPluginRandomFuncMockRecorder) Rander() *gomock.Call
Rander indicates an expected call of Rander.
type MockPluginSignFunc ¶
type MockPluginSignFunc struct {
// contains filtered or unexported fields
}
MockPluginSignFunc is a mock of PluginSignFunc interface.
func NewMockPluginSignFunc ¶
func NewMockPluginSignFunc(ctrl *gomock.Controller) *MockPluginSignFunc
NewMockPluginSignFunc creates a new mock instance.
func (*MockPluginSignFunc) EXPECT ¶
func (m *MockPluginSignFunc) EXPECT() *MockPluginSignFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginSignFunc) GetLevel ¶
func (m *MockPluginSignFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
func (*MockPluginSignFunc) GetSignKey ¶
GetSignKey mocks base method.
func (*MockPluginSignFunc) ImportSignKey ¶
func (m *MockPluginSignFunc) ImportSignKey(key []byte, mode int) ([]byte, error)
ImportSignKey mocks base method.
type MockPluginSignFuncMockRecorder ¶
type MockPluginSignFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginSignFuncMockRecorder is the mock recorder for MockPluginSignFunc.
func (*MockPluginSignFuncMockRecorder) GetLevel ¶
func (mr *MockPluginSignFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockPluginSignFuncMockRecorder) GetSignKey ¶
func (mr *MockPluginSignFuncMockRecorder) GetSignKey(key, mode interface{}) *gomock.Call
GetSignKey indicates an expected call of GetSignKey.
func (*MockPluginSignFuncMockRecorder) ImportSignKey ¶
func (mr *MockPluginSignFuncMockRecorder) ImportSignKey(key, mode interface{}) *gomock.Call
ImportSignKey indicates an expected call of ImportSignKey.
type MockPluginVerifyFunc ¶
type MockPluginVerifyFunc struct {
// contains filtered or unexported fields
}
MockPluginVerifyFunc is a mock of PluginVerifyFunc interface.
func NewMockPluginVerifyFunc ¶
func NewMockPluginVerifyFunc(ctrl *gomock.Controller) *MockPluginVerifyFunc
NewMockPluginVerifyFunc creates a new mock instance.
func (*MockPluginVerifyFunc) EXPECT ¶
func (m *MockPluginVerifyFunc) EXPECT() *MockPluginVerifyFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginVerifyFunc) GetLevel ¶
func (m *MockPluginVerifyFunc) GetLevel() ([]int, uint8)
GetLevel mocks base method.
func (*MockPluginVerifyFunc) GetVerifyKey ¶
GetVerifyKey mocks base method.
type MockPluginVerifyFuncMockRecorder ¶
type MockPluginVerifyFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginVerifyFuncMockRecorder is the mock recorder for MockPluginVerifyFunc.
func (*MockPluginVerifyFuncMockRecorder) GetLevel ¶
func (mr *MockPluginVerifyFuncMockRecorder) GetLevel() *gomock.Call
GetLevel indicates an expected call of GetLevel.
func (*MockPluginVerifyFuncMockRecorder) GetVerifyKey ¶
func (mr *MockPluginVerifyFuncMockRecorder) GetVerifyKey(key, mode interface{}) *gomock.Call
GetVerifyKey indicates an expected call of GetVerifyKey.
type MockPrivateKey ¶
type MockPrivateKey struct {
// contains filtered or unexported fields
}
MockPrivateKey is a mock of PrivateKey interface.
func NewMockPrivateKey ¶
func NewMockPrivateKey(ctrl *gomock.Controller) *MockPrivateKey
NewMockPrivateKey creates a new mock instance.
func (*MockPrivateKey) Decrypt ¶
func (m *MockPrivateKey) Decrypt(cipher []byte) ([]byte, error)
Decrypt mocks base method.
func (*MockPrivateKey) EXPECT ¶
func (m *MockPrivateKey) EXPECT() *MockPrivateKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrivateKey) GetKeyInfo ¶
func (m *MockPrivateKey) GetKeyInfo() int
GetKeyInfo mocks base method.
type MockPrivateKeyMockRecorder ¶
type MockPrivateKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockPrivateKeyMockRecorder is the mock recorder for MockPrivateKey.
func (*MockPrivateKeyMockRecorder) Bytes ¶
func (mr *MockPrivateKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockPrivateKeyMockRecorder) Decrypt ¶
func (mr *MockPrivateKeyMockRecorder) Decrypt(cipher interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockPrivateKeyMockRecorder) Destroy ¶
func (mr *MockPrivateKeyMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockPrivateKeyMockRecorder) Encrypt ¶
func (mr *MockPrivateKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockPrivateKeyMockRecorder) GetKeyInfo ¶
func (mr *MockPrivateKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
func (*MockPrivateKeyMockRecorder) Sign ¶
func (mr *MockPrivateKeyMockRecorder) Sign(msg, hasher, rand interface{}) *gomock.Call
Sign indicates an expected call of Sign.
func (*MockPrivateKeyMockRecorder) Verify ¶
func (mr *MockPrivateKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
Verify indicates an expected call of Verify.
type MockPublicKey ¶
type MockPublicKey struct {
// contains filtered or unexported fields
}
MockPublicKey is a mock of PublicKey interface.
func NewMockPublicKey ¶
func NewMockPublicKey(ctrl *gomock.Controller) *MockPublicKey
NewMockPublicKey creates a new mock instance.
func (*MockPublicKey) EXPECT ¶
func (m *MockPublicKey) EXPECT() *MockPublicKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPublicKey) GetKeyInfo ¶
func (m *MockPublicKey) GetKeyInfo() int
GetKeyInfo mocks base method.
type MockPublicKeyMockRecorder ¶
type MockPublicKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockPublicKeyMockRecorder is the mock recorder for MockPublicKey.
func (*MockPublicKeyMockRecorder) Bytes ¶
func (mr *MockPublicKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockPublicKeyMockRecorder) Encrypt ¶
func (mr *MockPublicKeyMockRecorder) Encrypt(msg, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockPublicKeyMockRecorder) GetKeyInfo ¶
func (mr *MockPublicKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
func (*MockPublicKeyMockRecorder) Verify ¶
func (mr *MockPublicKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
Verify indicates an expected call of Verify.
type MockSecretKey ¶
type MockSecretKey struct {
// contains filtered or unexported fields
}
MockSecretKey is a mock of SecretKey interface.
func NewMockSecretKey ¶
func NewMockSecretKey(ctrl *gomock.Controller) *MockSecretKey
NewMockSecretKey creates a new mock instance.
func (*MockSecretKey) Decrypt ¶
func (m *MockSecretKey) Decrypt(src []byte) []byte
Decrypt mocks base method.
func (*MockSecretKey) EXPECT ¶
func (m *MockSecretKey) EXPECT() *MockSecretKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSecretKeyMockRecorder ¶
type MockSecretKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretKeyMockRecorder is the mock recorder for MockSecretKey.
func (*MockSecretKeyMockRecorder) Decrypt ¶
func (mr *MockSecretKeyMockRecorder) Decrypt(src interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockSecretKeyMockRecorder) Destroy ¶
func (mr *MockSecretKeyMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockSecretKeyMockRecorder) Encrypt ¶
func (mr *MockSecretKeyMockRecorder) Encrypt(src, reader interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
type MockSignKey ¶
type MockSignKey struct {
// contains filtered or unexported fields
}
MockSignKey is a mock of SignKey interface.
func NewMockSignKey ¶
func NewMockSignKey(ctrl *gomock.Controller) *MockSignKey
NewMockSignKey creates a new mock instance.
func (*MockSignKey) EXPECT ¶
func (m *MockSignKey) EXPECT() *MockSignKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSignKey) GetKeyInfo ¶
func (m *MockSignKey) GetKeyInfo() int
GetKeyInfo mocks base method.
type MockSignKeyMockRecorder ¶
type MockSignKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockSignKeyMockRecorder is the mock recorder for MockSignKey.
func (*MockSignKeyMockRecorder) Bytes ¶
func (mr *MockSignKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockSignKeyMockRecorder) Destroy ¶
func (mr *MockSignKeyMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockSignKeyMockRecorder) GetKeyInfo ¶
func (mr *MockSignKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
func (*MockSignKeyMockRecorder) Sign ¶
func (mr *MockSignKeyMockRecorder) Sign(msg, hasher, rand interface{}) *gomock.Call
Sign indicates an expected call of Sign.
func (*MockSignKeyMockRecorder) Verify ¶
func (mr *MockSignKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
Verify indicates an expected call of Verify.
type MockSigner ¶
type MockSigner struct {
// contains filtered or unexported fields
}
MockSigner is a mock of Signer interface.
func NewMockSigner ¶
func NewMockSigner(ctrl *gomock.Controller) *MockSigner
NewMockSigner creates a new mock instance.
func (*MockSigner) EXPECT ¶
func (m *MockSigner) EXPECT() *MockSignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSignerMockRecorder ¶
type MockSignerMockRecorder struct {
// contains filtered or unexported fields
}
MockSignerMockRecorder is the mock recorder for MockSigner.
func (*MockSignerMockRecorder) Bytes ¶
func (mr *MockSignerMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockSignerMockRecorder) FromBytes ¶
func (mr *MockSignerMockRecorder) FromBytes(k, opt interface{}) *gomock.Call
FromBytes indicates an expected call of FromBytes.
func (*MockSignerMockRecorder) Sign ¶
func (mr *MockSignerMockRecorder) Sign(k, digest, reader interface{}) *gomock.Call
Sign indicates an expected call of Sign.
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) Bytes ¶
func (m *MockVerifier) Bytes() ([]byte, error)
Bytes mocks base method.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) Bytes ¶
func (mr *MockVerifierMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockVerifierMockRecorder) FromBytes ¶
func (mr *MockVerifierMockRecorder) FromBytes(k, opt interface{}) *gomock.Call
FromBytes indicates an expected call of FromBytes.
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(k, signature, digest interface{}) *gomock.Call
Verify indicates an expected call of Verify.
type MockVerifyKey ¶
type MockVerifyKey struct {
// contains filtered or unexported fields
}
MockVerifyKey is a mock of VerifyKey interface.
func NewMockVerifyKey ¶
func NewMockVerifyKey(ctrl *gomock.Controller) *MockVerifyKey
NewMockVerifyKey creates a new mock instance.
func (*MockVerifyKey) EXPECT ¶
func (m *MockVerifyKey) EXPECT() *MockVerifyKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifyKey) GetKeyInfo ¶
func (m *MockVerifyKey) GetKeyInfo() int
GetKeyInfo mocks base method.
type MockVerifyKeyMockRecorder ¶
type MockVerifyKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifyKeyMockRecorder is the mock recorder for MockVerifyKey.
func (*MockVerifyKeyMockRecorder) Bytes ¶
func (mr *MockVerifyKeyMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockVerifyKeyMockRecorder) GetKeyInfo ¶
func (mr *MockVerifyKeyMockRecorder) GetKeyInfo() *gomock.Call
GetKeyInfo indicates an expected call of GetKeyInfo.
func (*MockVerifyKeyMockRecorder) Verify ¶
func (mr *MockVerifyKeyMockRecorder) Verify(msg, hasher, sig interface{}) *gomock.Call
Verify indicates an expected call of Verify.