Documentation ¶
Overview ¶
Package suite contains mocks for kms+crypto wrapper suite.
Index ¶
- type MockSuite
- func (m *MockSuite) EncrypterDecrypter() (api.EncrypterDecrypter, error)
- func (m *MockSuite) FixedKeyCrypto(pub *jwk.JWK) (api.FixedKeyCrypto, error)
- func (m *MockSuite) FixedKeyMultiSigner(kid string) (api.FixedKeyMultiSigner, error)
- func (m *MockSuite) FixedKeySigner(kid string) (api.FixedKeySigner, error)
- func (m *MockSuite) KMSCrypto() (api.KMSCrypto, error)
- func (m *MockSuite) KMSCryptoMultiSigner() (api.KMSCryptoMultiSigner, error)
- func (m *MockSuite) KMSCryptoSigner() (api.KMSCryptoSigner, error)
- func (m *MockSuite) KMSCryptoVerifier() (api.KMSCryptoVerifier, error)
- func (m *MockSuite) KeyCreator() (api.KeyCreator, error)
- func (m *MockSuite) RawKeyCreator() (api.RawKeyCreator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSuite ¶
type MockSuite wrapper.MockKMSCrypto
MockSuite mocks api.Suite.
func (*MockSuite) EncrypterDecrypter ¶
func (m *MockSuite) EncrypterDecrypter() (api.EncrypterDecrypter, error)
EncrypterDecrypter mock.
func (*MockSuite) FixedKeyCrypto ¶
FixedKeyCrypto mock.
func (*MockSuite) FixedKeyMultiSigner ¶
func (m *MockSuite) FixedKeyMultiSigner(kid string) (api.FixedKeyMultiSigner, error)
FixedKeyMultiSigner mock.
func (*MockSuite) FixedKeySigner ¶
func (m *MockSuite) FixedKeySigner(kid string) (api.FixedKeySigner, error)
FixedKeySigner mock.
func (*MockSuite) KMSCryptoMultiSigner ¶
func (m *MockSuite) KMSCryptoMultiSigner() (api.KMSCryptoMultiSigner, error)
KMSCryptoMultiSigner mock.
func (*MockSuite) KMSCryptoSigner ¶
func (m *MockSuite) KMSCryptoSigner() (api.KMSCryptoSigner, error)
KMSCryptoSigner mock.
func (*MockSuite) KMSCryptoVerifier ¶
func (m *MockSuite) KMSCryptoVerifier() (api.KMSCryptoVerifier, error)
KMSCryptoVerifier mock.
func (*MockSuite) KeyCreator ¶
func (m *MockSuite) KeyCreator() (api.KeyCreator, error)
KeyCreator mock.
func (*MockSuite) RawKeyCreator ¶
func (m *MockSuite) RawKeyCreator() (api.RawKeyCreator, error)
RawKeyCreator mock.
Click to show internal directories.
Click to hide internal directories.