| Package | Description |
|---|---|
| com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
| com.nimbusds.jose.crypto |
Implementations of selected Javascript Object Signing and Encryption (JOSE)
algorithms.
|
| com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
| com.nimbusds.jose.util |
Base64, Base64URL, compression and JSON utility classes.
|
| com.nimbusds.jwt |
JSON Web Token (JWT) classes.
|
| Modifier and Type | Method and Description |
|---|---|
Base64URL |
ReadOnlyJWEHeader.getAgreementPartyUInfo()
Gets the agreement PartyUInfo (
apu) parameter. |
Base64URL |
JWEHeader.getAgreementPartyUInfo() |
Base64URL |
ReadOnlyJWEHeader.getAgreementPartyVInfo()
Gets the agreement PartyVInfo (
apv) parameter. |
Base64URL |
JWEHeader.getAgreementPartyVInfo() |
Base64URL |
JWEObject.getCipherText()
Gets the cipher text of this JWE object.
|
Base64URL |
JWECryptoParts.getCipherText()
Gets the cipher text.
|
Base64URL |
JWEObject.getEncryptedKey()
Gets the encrypted key of this JWE object.
|
Base64URL |
JWECryptoParts.getEncryptedKey()
Gets the encrypted key.
|
Base64URL |
ReadOnlyJWEHeader.getEncryptionPartyUInfo()
Gets the encryption PartyUInfo (
epu) parameter. |
Base64URL |
JWEHeader.getEncryptionPartyUInfo() |
Base64URL |
ReadOnlyJWEHeader.getEncryptionPartyVInfo()
Gets the encryption PartyVInfo (
epv) parameter. |
Base64URL |
JWEHeader.getEncryptionPartyVInfo() |
Base64URL |
JWEObject.getInitializationVector()
Gets the initialisation vector (IV) of this JWE object.
|
Base64URL |
JWECryptoParts.getInitializationVector()
Gets the initialisation vector (IV).
|
Base64URL |
JWEObject.getIntegrityValue()
Gets the integrity value of this JWE object.
|
Base64URL |
JWECryptoParts.getIntegrityValue()
Gets the integrity value.
|
Base64URL[] |
JOSEObject.getParsedParts()
Gets the original parsed Base64URL parts used to create this JOSE
object.
|
Base64URL |
JWSObject.getSignature()
Gets the signature of this JWS object.
|
Base64URL |
ReadOnlyCommonSEHeader.getX509CertThumbprint()
Gets the X.509 certificate thumbprint (
x5t) parameter. |
Base64URL |
CommonSEHeader.getX509CertThumbprint() |
Base64URL |
JWSSigner.sign(ReadOnlyJWSHeader header,
byte[] signableContent)
Signs the specified
signable
content of a JWS object. |
static Base64URL[] |
JOSEObject.split(java.lang.String s)
Splits a serialised JOSE object into its Base64URL-encoded parts.
|
Base64URL |
Payload.toBase64URL()
Returns a Base64URL view of this payload.
|
Base64URL |
Header.toBase64URL() |
Base64URL |
ReadOnlyHeader.toBase64URL()
Returns a Base64URL representation of the header.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
JWEDecrypter.decrypt(ReadOnlyJWEHeader header,
Base64URL encryptedKey,
Base64URL iv,
Base64URL cipherText,
Base64URL integrityValue)
Decrypts the specified cipher text of a
JWE Object. |
static JWEHeader |
JWEHeader.parse(Base64URL base64URL)
Parses a JWE header from the specified Base64URL.
|
static PlainHeader |
PlainHeader.parse(Base64URL base64URL)
Parses a plain header from the specified Base64URL.
|
static JWSHeader |
JWSHeader.parse(Base64URL base64URL)
Parses a JWS header from the specified Base64URL.
|
void |
JWEHeader.setAgreementPartyUInfo(Base64URL apu)
Sets the agreement PartyUInfo (
apu) parameter. |
void |
JWEHeader.setAgreementPartyVInfo(Base64URL apv)
Sets the agreement PartyVInfo (
apv) parameter. |
void |
JWEHeader.setEncryptionPartyUInfo(Base64URL epu)
Sets the encryption PartyUInfo (
epu) parameter. |
void |
JWEHeader.setEncryptionPartyVInfo(Base64URL epv)
Sets the encryption PartyVInfo (
epv) parameter. |
protected void |
JOSEObject.setParsedParts(Base64URL... parts)
Sets the original parsed Base64URL parts used to create this JOSE
object.
|
void |
CommonSEHeader.setX509CertThumbprint(Base64URL x5t)
Sets the X.509 certificate thumbprint (
x5t) parameter. |
boolean |
JWSVerifier.verify(ReadOnlyJWSHeader header,
byte[] signedContent,
Base64URL signature)
Verifies the specified
signature of a
JWS object. |
| Constructor and Description |
|---|
JWECryptoParts(Base64URL encryptedKey,
Base64URL iv,
Base64URL cipherText,
Base64URL integrityValue)
Creates a new cryptograhic JWE parts instance.
|
JWEObject(Base64URL firstPart,
Base64URL secondPart,
Base64URL thirdPart,
Base64URL fourthPart,
Base64URL fifthPart)
Creates a new encrypted JSON Web Encryption (JWE) object with the
specified serialised parts.
|
JWSObject(Base64URL firstPart,
Base64URL secondPart,
Base64URL thirdPart)
Creates a new signed JSON Web Signature (JWS) object with the
specified serialised parts.
|
Payload(Base64URL base64URL)
Creates a new payload from the specified Base64URL-encoded object.
|
PlainObject(Base64URL firstPart,
Base64URL secondPart)
Creates a new plaintext JOSE object with the specified
Base64URL-encoded parts.
|
| Modifier and Type | Method and Description |
|---|---|
Base64URL |
RSASSASigner.sign(ReadOnlyJWSHeader header,
byte[] signableContent) |
Base64URL |
ECDSASigner.sign(ReadOnlyJWSHeader header,
byte[] signableContent) |
Base64URL |
MACSigner.sign(ReadOnlyJWSHeader header,
byte[] signableContent) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
RSADecrypter.decrypt(ReadOnlyJWEHeader readOnlyJWEHeader,
Base64URL encryptedKey,
Base64URL iv,
Base64URL cipherText,
Base64URL integrityValue) |
boolean |
MACVerifier.verify(ReadOnlyJWSHeader header,
byte[] signedContent,
Base64URL signature) |
boolean |
ECDSAVerifier.verify(ReadOnlyJWSHeader header,
byte[] signedContent,
Base64URL signature) |
boolean |
RSASSAVerifier.verify(ReadOnlyJWSHeader header,
byte[] signedContent,
Base64URL signature) |
| Modifier and Type | Method and Description |
|---|---|
Base64URL |
ECKey.getD()
Gets the private 'd' coordinate for the elliptic curve point.
|
Base64URL |
RSAKey.OtherPrimesInfo.getFactorCRTCoefficient()
The factor Chinese Remainder Theorem (CRT) coefficient
(
t). |
Base64URL |
RSAKey.OtherPrimesInfo.getFactorCRTExponent()
Gets factor Chinese Remainder Theorem (CRT) exponent
(
d). |
Base64URL |
RSAKey.getFirstCRTCoefficient()
Returns the first Chinese Remainder Theorem (CRT) coefficient
(
qi)} of the private RSA key. |
Base64URL |
RSAKey.getFirstFactorCRTExponent()
Returns the first factor Chinese Remainder Theorem (CRT) exponent
(
dp) of the private RSA key. |
Base64URL |
RSAKey.getFirstPrimeFactor()
Returns the first prime factor (
p) of the private RSA key. |
Base64URL |
OctetSequenceKey.getKeyValue()
Returns the value of this octet sequence key.
|
Base64URL |
RSAKey.getModulus()
Returns the modulus value (
n) of the RSA key. |
Base64URL |
RSAKey.OtherPrimesInfo.getPrimeFactor()
Gets the prime factor (
r). |
Base64URL |
RSAKey.getPrivateExponent()
Returns the private exponent (
d) of the RSA key. |
Base64URL |
RSAKey.getPublicExponent()
Returns the public exponent (
e) of the RSA key. |
Base64URL |
RSAKey.getSecondFactorCRTExponent()
Returns the second factor Chinese Remainder Theorem (CRT) exponent
(
dq) of the private RSA key. |
Base64URL |
RSAKey.getSecondPrimeFactor()
Returns the second prime factor (
q) of the private RSA key. |
Base64URL |
ECKey.getX()
Gets the public 'x' coordinate for the elliptic curve point.
|
Base64URL |
ECKey.getY()
Gets the public 'y' coordinate for the elliptic curve point.
|
| Constructor and Description |
|---|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Base64URL d,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private Elliptic Curve JSON Web Key (JWK)
with the specified parameters.
|
ECKey(ECKey.Curve crv,
Base64URL x,
Base64URL y,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public Elliptic Curve JSON Web Key (JWK) with the
specified parameters.
|
OctetSequenceKey(Base64URL k,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new octet sequence JSON Web Key (JWK) with the specified
parameters.
|
RSAKey.OtherPrimesInfo(Base64URL r,
Base64URL d,
Base64URL t)
Creates a new JWK Other Primes Info 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,
Use use,
Algorithm alg,
java.lang.String kid)
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,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Base64URL d,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public / private RSA JSON Web Key (JWK) with the
specified parameters.
|
RSAKey(Base64URL n,
Base64URL e,
Use use,
Algorithm alg,
java.lang.String kid)
Creates a new public RSA JSON Web Key (JWK) with the specified
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static Base64URL |
Base64URL.encode(java.math.BigInteger bigInt)
Base64URL-encodes the specified big integer, without the sign bit.
|
static Base64URL |
Base64URL.encode(byte[] bytes)
Base64URL-encodes the specified byte array.
|
static Base64URL |
Base64URL.encode(java.lang.String text)
Base64URL-encodes the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
Base64URL[] |
JWT.getParsedParts()
Gets the original parsed Base64URL parts used to create the JSON Web
Token (JWT).
|
| Constructor and Description |
|---|
EncryptedJWT(Base64URL firstPart,
Base64URL secondPart,
Base64URL thirdPart,
Base64URL fourthPart,
Base64URL fifthPart)
Creates a new encrypted JSON Web Token (JWT) with the specified
serialised parts.
|
PlainJWT(Base64URL firstPart,
Base64URL secondPart)
Creates a new plain JSON Web Token (JWT) with the specified
Base64URL-encoded parts.
|
SignedJWT(Base64URL firstPart,
Base64URL secondPart,
Base64URL thirdPart)
Creates a new signed JSON Web Token (JWT) with the specified
serialised parts.
|
Copyright © 2013 NimbusDS. All Rights Reserved.