object JwkThumbprint
- Alphabetic
- By Inheritance
- JwkThumbprint
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(base64Url: String): JwkThumbprint
- 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
- def fromBase64Url(value: String): JwkThumbprint
Parse the unpadded base64url form of a SHA-256 thumbprint.
Parse the unpadded base64url form of a SHA-256 thumbprint. The digest is re-encoded, so that two spellings of the same digest give equal thumbprints.
- Exceptions thrown
java.lang.IllegalArgumentExceptionif the value is not valid base64urlpdi.jwt.exceptions.JwtLengthExceptionif the value does not decode to 32 bytes
- 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()
- def sha256(key: PublicKey): JwkThumbprint
- Exceptions thrown
pdi.jwt.exceptions.JwtNonSupportedAlgorithmif the key is not an RSA, EC or Ed25519 / Ed448 keypdi.jwt.exceptions.JwtNonSupportedCurveif the key is an EC key on an unsupported curve
- def sha256(key: RSAPublicKey): JwkThumbprint
- def sha256(jwk: Jwk): JwkThumbprint
Compute the SHA-256 JWK thumbprint of a key (RFC 7638 section 3, RFC 8037 section 2).
Compute the SHA-256 JWK thumbprint of a key (RFC 7638 section 3, RFC 8037 section 2).
The digest is taken over the UTF-8 encoding of the canonical JSON made of the required members of the key in lexicographic order and without whitespace, e.g.
{"e":..,"kty":"RSA","n":..}. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])