ECDH_AnonCryptoProvider

fmgp.crypto.ECDH_AnonCryptoProvider
case class ECDH_AnonCryptoProvider(curve: Curve, cek: SecretKey) extends ECDHCryptoProvider

Elliptic-curve Diffie–Hellman

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class ECDHCryptoProvider
class BaseJWEProvider
trait JWEProvider
trait JCAAware[JWEJCAContext]
trait JOSEProvider
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def decryptAUX(header: ProtectedHeaderBase64, sharedSecrets: Seq[(VerificationMethodReferenced, SecretKey)], recipients: Seq[JWERecipient], iv: IV, cipherText: CipherText, authTag: TAG, aad: Array[Byte]): Either[CryptoFailed, Array[Byte]]
def encryptAUX(header: ProtectedHeader, sharedSecrets: Seq[(VerificationMethodReferenced, SecretKey)], clearText: Array[Byte], aad: Array[Byte]): EncryptedMessageGeneric
override def supportedEllipticCurves(): Set[Curve]

Attributes

Definition Classes
ECDHCryptoProvider

Inherited methods

def getCurve(): Curve

Attributes

Inherited from:
ECDHCryptoProvider
def getJCAContext(): JWEJCAContext

Attributes

Inherited from:
BaseJWEProvider

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def supportedEncryptionMethods(): Set[EncryptionMethod]

Attributes

Inherited from:
BaseJWEProvider
def supportedJWEAlgorithms(): Set[JWEAlgorithm]

Attributes

Inherited from:
BaseJWEProvider