Package | Description |
---|---|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
Modifier and Type | Method and Description |
---|---|
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.algorithm(Algorithm alg)
Sets the intended JOSE algorithm (
alg ) for the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyID(String kid)
Sets the ID (
kid ) of the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyIDFromThumbprint()
Sets the ID (
kid ) of the JWK to its SHA-256 JWK
thumbprint (RFC 7638). |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyIDFromThumbprint(String hashAlg)
Sets the ID (
kid ) of the JWK to its JWK thumbprint
(RFC 7638). |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyOperations(Set<KeyOperation> ops)
Sets the operations (
key_ops ) of the JWK (for a
non-public key). |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyStore(KeyStore keyStore)
Sets the underlying key store.
|
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.keyUse(KeyUse use)
Sets the use (
use ) of the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.x509CertChain(List<Base64> x5c)
Sets the X.509 certificate chain (
x5c ) of the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256)
Sets the X.509 certificate SHA-256 thumbprint
(
x5t#S256 ) of the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.x509CertThumbprint(Base64URL x5t)
Deprecated.
|
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.x509CertURL(URI x5u)
Sets the X.509 certificate URL (
x5u ) of the JWK. |
Copyright © 2017 Connect2id Ltd.. All rights reserved.