Package | Description |
---|---|
com.nimbusds.jose |
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
|
com.nimbusds.jose.crypto |
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
|
com.nimbusds.jose.crypto.factories |
JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory
implementations.
|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
com.nimbusds.jose.proc |
Framework for application-specific verification and decryption of JOSE
objects (with arbitrary payloads).
|
com.nimbusds.jwt |
JSON Web Token (JWT) interfaces and classes.
|
com.nimbusds.jwt.proc |
Framework for application-specific verification and decryption of JSON Web
Tokens (JWTs).
|
Modifier and Type | Method and Description |
---|---|
JWSHeader |
JWSHeader.Builder.build()
Builds a new JWS header.
|
JWSHeader |
JWSObject.getHeader() |
static JWSHeader |
JWSHeader.parse(Base64URL base64URL)
Parses a JWS header from the specified Base64URL.
|
static JWSHeader |
JWSHeader.parse(Map<String,Object> jsonObject)
Parses a JWS header from the specified JSON object.
|
static JWSHeader |
JWSHeader.parse(Map<String,Object> jsonObject,
Base64URL parsedBase64URL)
Parses a JWS header from the specified JSON object.
|
static JWSHeader |
JWSHeader.parse(String jsonString)
Parses a JWS header from the specified JSON object string.
|
static JWSHeader |
JWSHeader.parse(String jsonString,
Base64URL parsedBase64URL)
Parses a JWS header from the specified JSON object string.
|
Modifier and Type | Method and Description |
---|---|
Base64URL |
JWSSigner.sign(JWSHeader header,
byte[] signingInput)
Signs the specified
input of a
JWS object . |
boolean |
JWSVerifier.verify(JWSHeader header,
byte[] signingInput,
Base64URL signature)
Verifies the specified
signature of a
JWS object . |
Constructor and Description |
---|
Builder(JWSHeader jwsHeader)
Creates a new JWS header builder with the parameters from
the specified header.
|
JWSHeader(JWSHeader jwsHeader)
Deep copy constructor.
|
JWSObject(JWSHeader header,
Payload payload)
Creates a new to-be-signed JSON Web Signature (JWS) object with the
specified header and payload.
|
Modifier and Type | Method and Description |
---|---|
Base64URL |
MACSigner.sign(JWSHeader header,
byte[] signingInput) |
Base64URL |
RSASSASigner.sign(JWSHeader header,
byte[] signingInput) |
Base64URL |
Ed25519Signer.sign(JWSHeader header,
byte[] signingInput) |
Base64URL |
ECDSASigner.sign(JWSHeader header,
byte[] signingInput) |
boolean |
MACVerifier.verify(JWSHeader header,
byte[] signedContent,
Base64URL signature) |
boolean |
Ed25519Verifier.verify(JWSHeader header,
byte[] signedContent,
Base64URL signature) |
boolean |
ECDSAVerifier.verify(JWSHeader header,
byte[] signedContent,
Base64URL signature) |
boolean |
RSASSAVerifier.verify(JWSHeader header,
byte[] signedContent,
Base64URL signature) |
Modifier and Type | Method and Description |
---|---|
JWSVerifier |
DefaultJWSVerifierFactory.createJWSVerifier(JWSHeader header,
Key key) |
Modifier and Type | Method and Description |
---|---|
static JWKMatcher |
JWKMatcher.forJWSHeader(JWSHeader jwsHeader)
Returns a
JWKMatcher based on the given JWSHeader . |
Modifier and Type | Method and Description |
---|---|
protected JWKMatcher |
JWSVerificationKeySelector.createJWKMatcher(JWSHeader jwsHeader)
Creates a JWK matcher for the expected JWS algorithm and the
specified JWS header.
|
JWSVerifier |
JWSVerifierFactory.createJWSVerifier(JWSHeader header,
Key key)
Creates a new JWS verifier for the specified header and key.
|
List<Key> |
JWSVerificationKeySelector.selectJWSKeys(JWSHeader jwsHeader,
C context) |
List<? extends Key> |
JWSKeySelector.selectJWSKeys(JWSHeader header,
C context)
Selects key candidates for verifying a JWS object.
|
List<? extends Key> |
JWSAlgorithmFamilyJWSKeySelector.selectJWSKeys(JWSHeader header,
C context) |
List<? extends Key> |
SingleKeyJWSKeySelector.selectJWSKeys(JWSHeader header,
C context) |
Constructor and Description |
---|
SignedJWT(JWSHeader header,
JWTClaimsSet claimsSet)
Creates a new to-be-signed JSON Web Token (JWT) with the specified
header and claims set.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Key> |
JWTClaimsSetAwareJWSKeySelector.selectKeys(JWSHeader header,
JWTClaimsSet claimsSet,
C context)
Selects key candidates for verifying a signed JWT.
|
Copyright © 2021 Connect2id Ltd.. All rights reserved.