case class Block(eciesPublicKey: EthPublicKey, aesInitialVector: ByteSeqExact16, ciphertext: Seq[Byte], eciesMac: ByteSeqExact32) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Block
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Block(eciesPublicKey: EthPublicKey, aesInitialVector: ByteSeqExact16, ciphertext: Seq[Byte], eciesMac: ByteSeqExact32)
Value Members
- val aesInitialVector: ByteSeqExact16
- lazy val bytes: Seq[Byte]
- val ciphertext: Seq[Byte]
- def decryptToInitiatorMessage(to: EthPrivateKey, mbSharedSecret: Option[ByteSeqExact32]): Failable[Initiator]
- def decryptToMessage(to: EthPrivateKey, mbSharedSecret: Option[ByteSeqExact32]): Failable[Message]
- def decryptToPlaintext(to: EthPrivateKey, mbSharedSecret: Option[ByteSeqExact32]): Array[Byte]
- def decryptToReceiverMessage(to: EthPrivateKey, mbSharedSecret: Option[ByteSeqExact32]): Failable[Receiver]
- val eciesMac: ByteSeqExact32
- val eciesPublicKey: EthPublicKey