EncryptedMessageGeneric

fmgp.did.comm.EncryptedMessageGeneric
See theEncryptedMessageGeneric companion object
case class EncryptedMessageGeneric(ciphertext: CipherText, `protected`: Base64Obj[ProtectedHeader], recipients: Seq[Recipient], tag: TAG, iv: IV) extends EncryptedMessage

TODO - To prevent invalid curve and weak point attacks, implementations that decrypt messages from a NIST curve MUST verify that the received public key (contained in the JWE protected header) is on the curve in question. This check may already be done by some JOSE libraries, but developers should not assume this is the case. See this explanation of the risk, and this practical guide for how to perform the verification correctly. https://neilmadden.blog/2017/05/17/so-how-do-you-validate-nist-ecdh-public-keys/

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Message
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Attributes

Inherited from:
EncryptedMessage

Attributes

Inherited from:
EncryptedMessage