Documentation ¶
Index ¶
- type EncryptedFile
- func (f *EncryptedFile) EncryptFile() error
- func (f *EncryptedFile) GenerateSymmetricKey() error
- func (f *EncryptedFile) OsReadCipherTextFile(path string) error
- func (f *EncryptedFile) OsReadPlainTextFile(path string) error
- func (f *EncryptedFile) OsReadPrivateKey(path string) error
- func (f *EncryptedFile) OsReadPublicKey(path string) error
- func (f *EncryptedFile) ParsePrivatePem() error
- func (f *EncryptedFile) ParsePublicPem() error
- func (f *EncryptedFile) WriteDecryptedFileToDisk(filePath string) error
- func (f *EncryptedFile) WriteEncryptFileToDisk(filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedFile ¶
type EncryptedFile struct { PublicPem []byte PublicKey *rsa.PublicKey // contains filtered or unexported fields }
func (*EncryptedFile) EncryptFile ¶
func (f *EncryptedFile) EncryptFile() error
func (*EncryptedFile) GenerateSymmetricKey ¶
func (f *EncryptedFile) GenerateSymmetricKey() error
func (*EncryptedFile) OsReadCipherTextFile ¶
func (f *EncryptedFile) OsReadCipherTextFile(path string) error
func (*EncryptedFile) OsReadPlainTextFile ¶
func (f *EncryptedFile) OsReadPlainTextFile(path string) error
func (*EncryptedFile) OsReadPrivateKey ¶
func (f *EncryptedFile) OsReadPrivateKey(path string) error
func (*EncryptedFile) OsReadPublicKey ¶
func (f *EncryptedFile) OsReadPublicKey(path string) error
func (*EncryptedFile) ParsePrivatePem ¶
func (f *EncryptedFile) ParsePrivatePem() error
func (*EncryptedFile) ParsePublicPem ¶
func (f *EncryptedFile) ParsePublicPem() error
func (*EncryptedFile) WriteDecryptedFileToDisk ¶
func (f *EncryptedFile) WriteDecryptedFileToDisk(filePath string) error
func (*EncryptedFile) WriteEncryptFileToDisk ¶
func (f *EncryptedFile) WriteEncryptFileToDisk(filePath string) error
Click to show internal directories.
Click to hide internal directories.