Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataMetadata ¶
type DecryptOptions ¶
type DecryptOptions struct {
Keyring saltpack.Keyring
SigKeyring saltpack.SigKeyring
}
type EncryptOptions ¶
type EncryptOptions struct {
BoxKey saltpack.BoxSecretKey
SigningKey saltpack.SigningSecretKey
}
type EncryptionMetadata ¶
func (EncryptionMetadata) KeyBytes ¶
func (m EncryptionMetadata) KeyBytes() ([]byte, error)
type FileInfo ¶
type FileInfo struct {
PublicMetadata PublicMetadata
PrivateMetadata PrivateMetadata
}
func DecryptSeekableStream ¶
func DecryptSeekableStream(reader io.ReadSeeker, options *DecryptOptions) (*FileInfo, io.ReadSeeker, error)
type PrivateMetadata ¶
type PrivateMetadata struct {
Encryption EncryptionMetadata
Data DataMetadata
}
type PublicMetadata ¶
type PublicMetadata struct {
Data DataMetadata
}
Click to show internal directories.
Click to hide internal directories.