ECDH_AuthCryptoProvider

fmgp.crypto.ECDH_AuthCryptoProvider
case class ECDH_AuthCryptoProvider(curve: Curve, cek: SecretKey) extends ECDH1PUCryptoProvider

Elliptic-curve Diffie–Hellman

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class ECDH1PUCryptoProvider
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
ECDH1PUCryptoProvider

Inherited methods

def getCurve(): Curve

Attributes

Inherited from:
ECDH1PUCryptoProvider
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