Documentation ¶
Index ¶
Constants ¶
View Source
const FAIL_MSG string = "FakeEncryptionWriter always fails this!"
Variables ¶
This section is empty.
Functions ¶
func IsPublicKey ¶
Types ¶
type EncryptionWriter ¶
type FakeEncryptionWriter ¶
type FakeEncryptionWriter struct { AlwaysFailEncrypt bool AlwaysFailWrite bool AlwaysFailCanWriteCheck bool OutputDirectory string }
func (*FakeEncryptionWriter) EnsureCanWriteDiskOrExit ¶
func (p *FakeEncryptionWriter) EnsureCanWriteDiskOrExit()
func (*FakeEncryptionWriter) SaveAndEncryptData ¶
func (p *FakeEncryptionWriter) SaveAndEncryptData(uuid string, json []byte) (string, error)
type PGPEncryptionWriter ¶
func (*PGPEncryptionWriter) EnsureCanWriteDiskOrExit ¶
func (p *PGPEncryptionWriter) EnsureCanWriteDiskOrExit()
func (*PGPEncryptionWriter) SaveAndEncryptData ¶
func (p *PGPEncryptionWriter) SaveAndEncryptData(uuid string, json []byte) (string, error)
Click to show internal directories.
Click to hide internal directories.