| Package | Description |
|---|---|
| com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
| com.nimbusds.jose.util |
Base64, Base64URL, compression and JSON utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Base64> |
JWK.getX509CertChain()
Gets the X.509 certificate chain (
x5c) of this JWK. |
| Modifier and Type | Method and Description |
|---|---|
ECKey.Builder |
ECKey.Builder.x509CertChain(java.util.List<Base64> x5c)
Sets the X.509 certificate chain (
x5c) of the JWK. |
RSAKey.Builder |
RSAKey.Builder.x509CertChain(java.util.List<Base64> x5c)
Sets the X.509 certificate chain (
x5c) of the JWK. |
OctetSequenceKey.Builder |
OctetSequenceKey.Builder.x509CertChain(java.util.List<Base64> x5c)
Sets the X.509 certificate chain (
x5c) of the JWK. |
| Constructor and Description |
|---|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Base64URL d,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
ECKey(ECKey.Curve crv,
java.security.interfaces.ECPublicKey pub,
java.security.interfaces.ECPrivateKey priv,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
java.security.interfaces.ECPublicKey pub,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
JWK(KeyType kty,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new JSON Web Key (JWK).
|
OctetSequenceKey(Base64URL k,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new octet sequence JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
Base64URL p,
Base64URL q,
Base64URL dp,
Base64URL dq,
Base64URL qi,
java.util.List<RSAKey.OtherPrimesInfo> oth,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL p,
Base64URL q,
Base64URL dp,
Base64URL dq,
Base64URL qi,
java.util.List<RSAKey.OtherPrimesInfo> oth,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAMultiPrimePrivateCrtKey priv,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAPrivateCrtKey priv,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(java.security.interfaces.RSAPublicKey pub,
java.security.interfaces.RSAPrivateKey priv,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Base64URL
Base64URL-encoded object.
|
| Modifier and Type | Method and Description |
|---|---|
static Base64 |
Base64.encode(java.math.BigInteger bigInt)
Base64-encodes the specified big integer, without the sign bit.
|
static Base64 |
Base64.encode(byte[] bytes)
Base64-encodes the specified byte array.
|
static Base64 |
Base64.encode(java.lang.String text)
Base64-encodes the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Base64> |
X509CertChainUtils.parseX509CertChain(net.minidev.json.JSONArray jsonArray)
Parses an X.509 certificate chain from the specified JSON array.
|
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.