Documentation
¶
Index ¶
- type MockEncryptedContentService
- func (m *MockEncryptedContentService) Decrypt(passphrase *passphrase.Passphrase, encryptedContent *content.EncryptedContent) (*content.Content, error)
- func (m *MockEncryptedContentService) Deserialize(encoded []byte) (*content.EncryptedContent, error)
- func (m *MockEncryptedContentService) Encrypt(passphrase *passphrase.Passphrase, contentArg *content.Content) (*content.EncryptedContent, error)
- func (m *MockEncryptedContentService) Serialize(encryptedContent *content.EncryptedContent) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEncryptedContentService ¶
func (*MockEncryptedContentService) Decrypt ¶
func (m *MockEncryptedContentService) Decrypt( passphrase *passphrase.Passphrase, encryptedContent *content.EncryptedContent, ) (*content.Content, error)
func (*MockEncryptedContentService) Deserialize ¶
func (m *MockEncryptedContentService) Deserialize(encoded []byte) (*content.EncryptedContent, error)
func (*MockEncryptedContentService) Encrypt ¶
func (m *MockEncryptedContentService) Encrypt( passphrase *passphrase.Passphrase, contentArg *content.Content, ) (*content.EncryptedContent, error)
func (*MockEncryptedContentService) Serialize ¶
func (m *MockEncryptedContentService) Serialize(encryptedContent *content.EncryptedContent) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.