object EncryptedView extends Serializable
- Alphabetic
- By Inheritance
- EncryptedView
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class CompressedView[+V <: HasVersionedToByteString] extends HasVersionedToByteString with NoCopy with Product with Serializable
Wrapper class to compress the view before encrypting it.
Wrapper class to compress the view before encrypting it.
This class's methods are essentially private to EncryptedView because compression is in theory non-deterministic (the gzip format can store a timestamp that is ignored by decryption) and we want to avoid that this is applied to com.digitalasset.canton.serialization.HasCryptographicEvidence instances.
Value Members
- def apply[VT <: ViewType](aViewType: VT)(aViewTree: Encrypted[CompressedView[EncryptedView.apply.VT.View]]): EncryptedView[VT]
- def compressed[VT <: ViewType](encryptionOps: EncryptionOps, secureRandomness: SecureRandomness, aViewType: VT, version: ProtocolVersion)(aViewTree: EncryptedView.compressed.VT.View): Either[EncryptionError, EncryptedView[VT]]
- def decrypt[VT <: ViewType](encryptionOps: EncryptionOps, symmetricKey: SecureRandomness, encrypted: EncryptedView[VT])(deserialize: (ByteString) => Either[DeserializationError, EncryptedView.decrypt.VT.View]): Either[DecryptionError, EncryptedView.decrypt.VT.View]
- object CompressedView extends Serializable