Packages

object EncryptedView extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EncryptedView
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  1. def apply[VT <: ViewType](aViewType: VT)(aViewTree: Encrypted[CompressedView[EncryptedView.apply.VT.View]]): EncryptedView[VT]
  2. def compressed[VT <: ViewType](encryptionOps: EncryptionOps, secureRandomness: SecureRandomness, aViewType: VT, version: ProtocolVersion)(aViewTree: EncryptedView.compressed.VT.View): Either[EncryptionError, EncryptedView[VT]]
  3. 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]
  4. object CompressedView extends Serializable