Package | Description |
---|---|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
Modifier and Type | Method and Description |
---|---|
ECKey.Builder |
ECKey.Builder.algorithm(Algorithm alg)
Sets the intended JOSE algorithm (
alg ) for the JWK. |
ECKey.Builder |
ECKey.Builder.d(Base64URL d)
Sets the private 'd' coordinate for the elliptic curve
point.
|
ECKey.Builder |
ECKey.Builder.keyID(String kid)
Sets the ID (
kid ) of the JWK. |
ECKey.Builder |
ECKey.Builder.keyIDFromThumbprint()
Sets the ID (
kid ) of the JWK to its SHA-256 JWK
thumbprint (RFC 7638). |
ECKey.Builder |
ECKey.Builder.keyIDFromThumbprint(String hashAlg)
Sets the ID (
kid ) of the JWK to its JWK thumbprint
(RFC 7638). |
ECKey.Builder |
ECKey.Builder.keyOperations(Set<KeyOperation> ops)
Sets the operations (
key_ops ) of the JWK. |
ECKey.Builder |
ECKey.Builder.keyStore(KeyStore keyStore)
Sets the underlying key store.
|
ECKey.Builder |
ECKey.Builder.keyUse(KeyUse use)
Sets the use (
use ) of the JWK. |
ECKey.Builder |
ECKey.Builder.privateKey(ECPrivateKey priv)
Sets the private Elliptic Curve key.
|
ECKey.Builder |
ECKey.Builder.privateKey(PrivateKey priv)
Sets the private EC key, typically for a key located in a
PKCS#11 store that doesn't expose the private key parameters
(such as a smart card or HSM).
|
ECKey.Builder |
ECKey.Builder.x509CertChain(List<Base64> x5c)
Sets the X.509 certificate chain (
x5c ) of the JWK. |
ECKey.Builder |
ECKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256)
Sets the X.509 certificate SHA-256 thumbprint
(
x5t#S256 ) of the JWK. |
ECKey.Builder |
ECKey.Builder.x509CertThumbprint(Base64URL x5t)
Deprecated.
|
ECKey.Builder |
ECKey.Builder.x509CertURL(URI x5u)
Sets the X.509 certificate URL (
x5u ) of the JWK. |
Copyright © 2020 Connect2id Ltd.. All rights reserved.