Packages

final case class AsymmetricEncrypted[+M](ciphertext: ByteString, encryptionAlgorithmSpec: EncryptionAlgorithmSpec, encryptedFor: Fingerprint) extends NoCopy with HasVersionedWrapper[AsymmetricEncrypted[_]] with Product with Serializable

Represents an asymmetric encrypted message.

ciphertext

the encrypted message

encryptionAlgorithmSpec

the encryption algorithm specification (e.g. RSA OAEP)

encryptedFor

the public key of the recipient

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsymmetricEncrypted
  2. Serializable
  3. Product
  4. Equals
  5. HasVersionedWrapper
  6. HasVersionedToByteString
  7. NoCopy
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsymmetricEncrypted(ciphertext: ByteString, encryptionAlgorithmSpec: EncryptionAlgorithmSpec, encryptedFor: Fingerprint)

    ciphertext

    the encrypted message

    encryptionAlgorithmSpec

    the encryption algorithm specification (e.g. RSA OAEP)

    encryptedFor

    the public key of the recipient

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val ciphertext: ByteString
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def companionObj: AsymmetricEncrypted.type
    Attributes
    protected
    Definition Classes
    AsymmetricEncryptedHasVersionedWrapper
  8. def copy(nothing: Nothing): Nothing
    Attributes
    protected
    Definition Classes
    NoCopy
  9. def encrypted: Encrypted[M]
  10. val encryptedFor: Fingerprint
  11. val encryptionAlgorithmSpec: EncryptionAlgorithmSpec
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toByteArray(version: ProtocolVersion): Array[Byte]

    Yields a byte array representation of the corresponding UntypedVersionedMessage wrapper of this instance.

    Yields a byte array representation of the corresponding UntypedVersionedMessage wrapper of this instance.

    Definition Classes
    HasVersionedWrapper
  21. def toByteString(version: ProtocolVersion): ByteString

    Yields a byte string representation of the corresponding UntypedVersionedMessage wrapper of this instance.

    Yields a byte string representation of the corresponding UntypedVersionedMessage wrapper of this instance.

    Definition Classes
    HasVersionedWrapperHasVersionedToByteString
  22. def toProtoV30: v30.AsymmetricEncrypted
  23. def toProtoVersioned(version: ProtocolVersion): VersionedMessage[AsymmetricEncrypted[_]]

    Yields the proto representation of the class inside an UntypedVersionedMessage wrapper.

    Yields the proto representation of the class inside an UntypedVersionedMessage wrapper.

    Subclasses should make this method public by default, as this supports composing proto serializations. Keep it protected, if there are good reasons for it (e.g. com.digitalasset.canton.serialization.ProtocolVersionedMemoizedEvidence).

    Definition Classes
    HasVersionedWrapper
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. def writeToFile(outputFile: String, version: ProtocolVersion = ProtocolVersion.latest): Unit

    Writes the byte string representation of the corresponding UntypedVersionedMessage wrapper of this instance to a file.

    Writes the byte string representation of the corresponding UntypedVersionedMessage wrapper of this instance to a file.

    Definition Classes
    HasVersionedWrapper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NoCopy

Inherited from AnyRef

Inherited from Any

Ungrouped