fmgp.crypto

package fmgp.crypto

Members list

Packages

Type members

Classlikes

methods: sign verify anonEncrypt authEncrypt anonDecrypt authDecrypt

methods: sign verify anonEncrypt authEncrypt anonDecrypt authDecrypt

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

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
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 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
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

Types

type ECCurve = P-256.type | P-384.type | P-521.type | secp256k1.type
type Keys = Set[PrivateKey]
type OKPCurve = X25519.type | Ed25519.type