did-imp
did-imp
API
fmgp
crypto
CryptoOperationsImp
ECDH
ECDH_AnonCryptoProvider
ECDH_AnonEC
ECDH_AnonOKP
ECDH_AuthCryptoProvider
ECDH_AuthEC
ECDH_AuthOKP
ECDH_UtilsEC
ECDH_UtilsOKP
JWERecipient
KeyGenerator
PlatformSpecificOperations
UtilsJVM
unsafe
given_Conversion_ProtectedHeader_JWEHeader
given_Conversion_Base64Obj_JWEHeader
given_Conversion_Base64_Base64URL
did.comm
did-imp
/
fmgp
/
fmgp.crypto
/
ECDH_AuthOKP
ECDH_AuthOKP
fmgp.crypto.ECDH_AuthOKP$
object
ECDH_AuthOKP
extends
ECDH_UtilsOKP
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
ECDH_UtilsOKP
class
Object
trait
Matchable
class
Any
Self type
ECDH_AuthOKP
.type
Members list
Clear all
Value members
Concrete methods
def
decrypt
(
sender
:
OKPKey
,
okpRecipientsKeys
:
Seq
[(
VerificationMethodReferenced
,
OKPKey
)],
header
:
ProtectedHeaderBase64
,
recipients
:
Seq
[
JWERecipient
],
iv
:
IV
,
cipherText
:
CipherText
,
authTag
:
TAG
):
Either
[
CryptoFailed
,
Array
[
Byte
]]
def
encrypt
(
sender
:
OKPKey
,
okpRecipientsKeys
:
Seq
[(
VerificationMethodReferenced
,
OKPKey
)],
header
:
AuthHeaderBuilder
,
clearText
:
Array
[
Byte
]):
Either
[
CryptoFailed
,
EncryptedMessageGeneric
]
Inherited methods
protected
def
getCurve
(
okpRecipientsKeys
:
Seq
[(
VerificationMethodReferenced
,
OKPKey
)]):
Either
[
CurveError
,
Curve
]
Attributes
Inherited from:
ECDH_UtilsOKP
In this article
Attributes
Members list
Value members
Concrete methods
Inherited methods