crypt

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL