fmgp.crypto

package fmgp.crypto

Members list

Packages

Type members

Classlikes

Raw crypto operations for DID Comm

Raw crypto operations for DID Comm

methods: sign verify anonEncrypt authEncrypt anonDecrypt authDecrypt

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Raw crypto operations for JWT

Raw crypto operations for JWT

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Raw crypto operations

Raw crypto operations

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

https://identity.foundation/didcomm-messaging/spec/#key-wrapping-algorithms

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
enum Curve

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Curve

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Curve.type
object ECCurveOpaque

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ECDH

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ECDH.type
case class ECDH_AnonCryptoProvider(curve: Curve, cek: SecretKey) extends ECDHCryptoProvider

Elliptic-curve Diffie–Hellman

Elliptic-curve Diffie–Hellman

Attributes

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
object ECDH_AnonEC extends ECDH_UtilsEC

Attributes

Supertypes
trait ECDH_UtilsEC
class Object
trait Matchable
class Any
Self type
object ECDH_AnonOKP extends ECDH_UtilsOKP

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class ECDH_AuthCryptoProvider(curve: Curve, cek: SecretKey) extends ECDH1PUCryptoProvider

Elliptic-curve Diffie–Hellman

Elliptic-curve Diffie–Hellman

Attributes

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
object ECDH_AuthEC extends ECDH_UtilsEC

Attributes

Supertypes
trait ECDH_UtilsEC
class Object
trait Matchable
class Any
Self type
object ECDH_AuthOKP extends ECDH_UtilsOKP

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait ECDH_UtilsEC

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ECDH_AnonEC
object ECDH_AuthEC

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ECDH_AnonOKP
object ECDH_AuthOKP
sealed abstract class ECKey extends OKP_EC_Key

Attributes

Supertypes
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait ECKeyWithKid extends ECKey, WithKid

Attributes

Supertypes
trait WithKid
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait ECKeyWithoutKid extends ECKey, WithoutKid

Attributes

Supertypes
trait WithoutKid
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait ECPrivateKey extends ECKey, PrivateKey

Attributes

Companion
object
Supertypes
trait PrivateKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object ECPrivateKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ECKeyWithKid
trait WithKid
trait ECPrivateKey
trait PrivateKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithoutKid
trait ECPrivateKey
trait PrivateKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ECPublicKey extends ECKey, PublicKey

Attributes

Companion
object
Supertypes
trait PublicKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object ECPublicKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ECKeyWithKid
trait WithKid
trait ECPublicKey
trait PublicKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithoutKid
trait ECPublicKey
trait PublicKey
class ECKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Header Parameter Values for JWS https://datatracker.ietf.org/doc/html/rfc7518#section-3.1

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JWAAlgorithm

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class JWERecipient(vmr: VerificationMethodReferenced, encryptedKey: Base64)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait JWKObj extends MaybeKid

https://www.rfc-editor.org/rfc/rfc7638

object JWT

Attributes

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JWTHeader

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
JWTHeader.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JWTOperations

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object JWTPayload

JWT's Payload

JWT's Payload

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Self type
JWTPayload.type
enum KTY

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KTY

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
KTY.type
object KeyGenerator

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeyStore

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
KeyStore.type
sealed trait MaybeKid

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class OKPKey extends OKP_EC_Key

Attributes

Supertypes
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait OKPKeyWithKid extends OKPKey, WithKid

Attributes

Supertypes
trait WithKid
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait OKPKeyWithoutKid extends OKPKey, WithoutKid

Attributes

Supertypes
trait WithoutKid
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait OKPPrivateKey extends OKPKey, PrivateKey

Attributes

Companion
object
Supertypes
trait PrivateKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object OKPPrivateKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithKid
trait PrivateKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithoutKid
trait PrivateKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait OKPPublicKey extends OKPKey, PublicKey

Attributes

Companion
object
Supertypes
trait PublicKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object OKPPublicKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithKid
trait OKPPublicKey
trait PublicKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WithoutKid
trait OKPPublicKey
trait PublicKey
class OKPKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait OKP_EC_Key extends JWKObj

Attributes

Companion
object
Supertypes
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Known subtypes
object OKP_EC_Key

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OKP_EC_Key.type
object Payload

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object PointOnCurve

Intended to prevent Invalid Curve Attack for:

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait PrivateKey extends OKP_EC_Key

Attributes

Companion
object
Supertypes
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object PrivateKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PrivateKey.type
sealed trait PrivateKeyWithKid extends PrivateKey, WithKid

Attributes

Companion
object
Supertypes
trait WithKid
trait PrivateKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait WithoutKid
trait PrivateKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait PublicKey extends OKP_EC_Key

Attributes

Companion
object
Supertypes
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes
object PublicKey

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PublicKey.type
sealed trait PublicKeyWithKid extends PublicKey, WithKid

Attributes

Companion
object
Supertypes
trait WithKid
trait PublicKey
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait PublicKeyWithoutKid extends OKP_EC_Key, WithoutKid

Attributes

Companion
object
Supertypes
trait WithoutKid
trait OKP_EC_Key
trait JWKObj
trait MaybeKid
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object SHA256

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SHA256.type
object SHA256ZIO

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SHA256ZIO.type
object SignatureJWM

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object SignatureJWT

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object UtilsJVM

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
UtilsJVM.type
sealed trait WithKid extends MaybeKid

Attributes

Supertypes
trait MaybeKid
class Object
trait Matchable
class Any
Known subtypes
sealed trait WithoutKid extends MaybeKid

Attributes

Supertypes
trait MaybeKid
class Object
trait Matchable
class Any
Known subtypes
object given_Conversion_Base64Obj_JWEHeader extends Conversion[Base64Obj[ProtectedHeader], JWEHeader]

Attributes

Supertypes
class Conversion[Base64Obj[ProtectedHeader], JWEHeader]
trait (Base64Obj[ProtectedHeader]) => JWEHeader
class Object
trait Matchable
class Any
Self type
object given_Conversion_Base64_Base64URL extends Conversion[Base64, Base64URL]

Attributes

Supertypes
class Conversion[Base64, Base64URL]
trait Base64 => Base64URL
class Object
trait Matchable
class Any
Self type

Types

type ECCurve = P-256.type | P-384.type | P-521.type | secp256k1.type
opaque type ECCurveOpaque
opaque type JWT
opaque type JWTPayload
type Keys = Set[PrivateKey]
type OKPCurve = X25519.type | Ed25519.type
opaque type OKPCurveOpaque
opaque type Payload
opaque type ProtectedHeaderJWT
opaque type SignatureJWM

JWM_SIGNATURE is a Base64 url encode

JWM_SIGNATURE is a Base64 url encode

Attributes

opaque type SignatureJWT

Extensions

Extensions

extension (c: JWTOperations.type)

Hide implementation details to improve the API

Hide implementation details to improve the API

Note: methods names SHOULD be different from the methods extension in Operations.type

Attributes