public interface EncryptedOutputFile
OutputFile
that is encrypting bytes written to the underlying file
system, via an encryption key that is symbolized by the enclosed EncryptionKeyMetadata
.
The EncryptionManager
returns instances of these when passed output files that should
be encrypted as they are being written to the backing file system.
Modifier and Type | Method and Description |
---|---|
OutputFile |
encryptingOutputFile()
An OutputFile instance that encrypts the bytes that are written to its output streams.
|
EncryptionKeyMetadata |
keyMetadata()
Metadata about the encryption key that is being used to encrypt the associated
encryptingOutputFile() . |
OutputFile encryptingOutputFile()
EncryptionKeyMetadata keyMetadata()
encryptingOutputFile()
.