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
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
sealed abstract class ECKey extends OKP_EC_Key

Attributes

Supertypes
class OKP_EC_Key
trait JWKObj
class Object
trait Matchable
class Any
Known subtypes
case class ECPrivateKey(kty: EC.type, crv: Curve, d: String, x: String, y: String, kid: Option[String]) extends ECKey, PrivateKey

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ECPublicKey(kty: EC.type, crv: Curve, x: String, y: String, kid: Option[String]) extends ECKey, PublicKey

Attributes

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

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
sealed trait JWKObj

https://tools.ietf.org/id/draft-ietf-jose-json-web-key-00.html

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class OKP_EC_Key
class ECKey
class ECPrivateKey
class ECPublicKey
class OKPKey
class OKPPublicKey
trait PrivateKey
trait PublicKey
Show all
object JWT

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
JWT.type
final case class JWTHeader(alg: Option[JWAAlgorithm], jku: Option[String], jwk: Option[String], kid: Option[String], typ: Option[String], cty: Option[String], crit: Option[Seq[String]])

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
case class KeyStore(keys: Set[PrivateKey])

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 abstract class OKPKey extends OKP_EC_Key

Attributes

Supertypes
class OKP_EC_Key
trait JWKObj
class Object
trait Matchable
class Any
Known subtypes
case class OKPPrivateKey(kty: OKP.type, crv: Curve, d: String, x: String, kid: Option[String]) extends OKPKey, PrivateKey

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class OKPPublicKey(kty: OKP.type, crv: Curve, x: String, kid: Option[String]) extends OKPKey, PublicKey

Attributes

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

Attributes

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

Attributes

Companion
object
Supertypes
trait JWKObj
class Object
trait Matchable
class Any
Known subtypes
class ECKey
class ECPrivateKey
class ECPublicKey
class OKPKey
class OKPPublicKey
trait PrivateKey
trait PublicKey
Show all
object OKP_EC_Key

Attributes

Companion
class
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
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
class OKP_EC_Key
trait JWKObj
class Object
trait Matchable
class Any
Known subtypes
object PrivateKey

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SHA256.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

Types

type ECCurve = P-256.type | P-384.type | P-521.type | secp256k1.type
opaque type JWT
opaque type JWTPayload
type Keys = Set[PrivateKey]
type OKPCurve = X25519.type | Ed25519.type
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