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 Serializabletrait Producttrait Equalstrait EncryptedMessagetrait Messageclass Objecttrait Matchableclass Any
Members list
In this article