UtilsJVM

fmgp.crypto.UtilsJVM
object UtilsJVM

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UtilsJVM.type

Members list

Type members

Classlikes

object unsafe

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Types

Value members

Concrete methods

def ecKey2JWK(ec: ECKey): ECKey
def ecKeySignJWM(ecKey: ECKey, payload: Array[Byte], alg: JWAAlgorithm): SignedMessage
def ecKeySignJWT(ecKey: ECKey, payload: Array[Byte]): JWT
def ecKeySignJWT(ecKey: ECKey, payload: Array[Byte], alg: JWAAlgorithm): JWT
def ecKeyVerifyJWM(ecKey: ECKey, jwm: SignedMessage, alg: JWAAlgorithm): Boolean
def ecKeyVerifyJWT(ecKey: ECKey, jwt: JWT): Boolean
def ecKeyVerifyJWT(ecKey: ECKey, jwt: JWT): Boolean
def okpKey2JWK(okp: OKPKey): OctetKeyPair
def okpKeySignJWMWithEd25519(okpKey: OctetKeyPair, payload: Array[Byte], alg: JWAAlgorithm): SignedMessage
def okpKeySignJWTWithEd25519(okpKey: OKPKey, payload: Array[Byte]): JWT
def okpKeySignJWTWithEd25519(okpKey: OctetKeyPair, payload: Array[Byte], alg: JWAAlgorithm): JWT
def okpKeyVerifyJWMWithEd25519(okpKey: OctetKeyPair, jwm: SignedMessage, alg: JWAAlgorithm): Boolean
def okpKeyVerifyJWTWithEd25519(okpKey: OctetKeyPair, jwt: JWT): Boolean

Extensions

Extensions

extension (alg: JWAAlgorithm)
def toJWSAlgorithm: JWSAlgorithm
extension (curve: Curve)
def toJWKCurve: Curve
extension (ec: ECKey)
def toJWK: ECKey
extension (key: OKP_EC_Key)
def toJWK: ECKey | OctetKeyPair
extension (key: PrivateKey)
extension (okp: OKPKey)
def toJWK: OctetKeyPair