sealed trait Jwk extends AnyRef
A public JSON Web Key as defined by RFC 7517.
Only the public parameters of RSA, EC and OKP keys are modelled. Private members such as
d, p, q, dp, dq, qi or oth are ignored: they are never read when parsing and never
written by toJson.
The certificate members x5c, x5t, x5t#S256 and x5u are ignored too: no certificate chain
is read, validated or checked against the key, and they are never written by toJson.
Keys are immutable values. Use the companion factories to construct them, named accessors to
inspect them and withKeyId, withUse, withAlgorithm or withKeyOperations to update their
metadata. They deliberately do not expose case-class copy, extractors or Product APIs, so
that the model can evolve without changing those public signatures.
- Alphabetic
- By Inheritance
- Jwk
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def algorithm: Option[String]
The raw
algmember, which may name a non-signature algorithm. - abstract def keyId: Option[String]
The
kidmember. - abstract def keyOperations: Option[Set[String]]
The
key_opsmember,Nonewhen absent. - abstract def publicKey: PublicKey
- Exceptions thrown
java.security.NoSuchAlgorithmExceptionif the JDK has no key factory for this type of keyjava.security.spec.InvalidKeySpecExceptionif the JDK refuses the parameters as a key
- abstract def use: Option[JwkUse]
The
usemember.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def thumbprint: JwkThumbprint
The SHA-256 thumbprint of this key, see JwkThumbprint.
- def toJson: String
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])