Package com.nimbusds.jose
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
This package provides representation, compact serialisation and parsing for the following JOSE objects:
Unsecured ({@code alg=none}) JOSE objects
.JSON Web Signature (JWS) objects
.JSON Web Encryption (JWE) objects
.
References:
-
Interface Summary Interface Description CompletableJWSObjectSigning Completable JSON Web Signature (JWS) object signing.CriticalHeaderParamsAware JSON Web Signature (JWS) verifier or JSON Web Encryption (JWE) decrypter that supports processing and / or deferral of critical (crit
) header parameters.JOSEProvider JavaScript Object Signing and Encryption (JOSE) provider.JSONSerializable Provides JSON serialization of the JOSE Object.JWEDecrypter JSON Web Encryption (JWE) decrypter.JWEEncrypter JSON Web Encryption (JWE) encrypter.JWEProvider JSON Web Encryption (JWE) provider.JWSProvider JSON Web Signature (JWS) providerJWSSigner JSON Web Signature (JWS) signer.JWSSignerOption Marker interface for a JSON Web Signature (JWS) signer option.JWSVerifier JSON Web Signature (JWS) verifier.PayloadTransformer<T> Generic payload type transformer. -
Class Summary Class Description Algorithm The base class for algorithm names, with optional implementation requirement.CompressionAlgorithm Compression algorithm name, represents thezip
header parameter in JSON Web Encryption (JWE) objects.EncryptionMethod Encryption method name, represents theenc
header parameter in JSON Web Encryption (JWE) objects.EncryptionMethod.Family Encryption method family.Header The base abstract class for unsecured (alg=none
), JSON Web Signature (JWS) and JSON Web Encryption (JWE) headers.HeaderParameterNames JSON Web Signature (JWS) and JSON Web Encryption (JWE) header parameter names.JOSEObject The base abstract class for JSON Web Signature (JWS) secured, JSON Web Encryption (JWE) secured and unsecured (plain /alg=none
) objects serialisable to compact encoding.JOSEObjectJSON The base abstract class for JSON Web Signature (JWS) secured and JSON Web Encryption (JWE) secured objects serialisable to JSON.JOSEObjectType JOSE object type, represents thetyp
header parameter in unsecured, JSON Web Signature (JWS) and JSON Web Encryption (JWE) objects.JWEAlgorithm JSON Web Encryption (JWE) algorithm name, represents thealg
header parameter in JWE objects.JWEAlgorithm.Family JWE algorithm family.JWECryptoParts The cryptographic parts of a JSON Web Encryption (JWE) object.JWEHeader JSON Web Encryption (JWE) header.JWEHeader.Builder Builder for constructing JSON Web Encryption (JWE) headers.JWEObject JSON Web Encryption (JWE) secured object with compact serialisation.JWEObjectJSON JSON Web Encryption (JWE) secured object with JSON serialisation.JWEObjectJSON.Recipient Individual recipient in a JWE object serialisable to JSON.JWSAlgorithm JSON Web Signature (JWS) algorithm name, represents thealg
header parameter in JWS objects.JWSAlgorithm.Family JWS algorithm family.JWSHeader JSON Web Signature (JWS) header.JWSHeader.Builder Builder for constructing JSON Web Signature (JWS) headers.JWSObject JSON Web Signature (JWS) secured object with compact serialisation.JWSObjectJSON JSON Web Signature (JWS) secured object with JSON serialisation.JWSObjectJSON.Signature Individual signature in a JWS secured object serialisable to JSON.Payload Payload of an unsecured (plain), JSON Web Signature (JWS) or JSON Web Encryption (JWE) object.PlainHeader Unsecured (alg=none
) JOSE header.PlainHeader.Builder Builder for constructing unsecured (plain) headers.PlainObject Unsecured (plain /alg=none
) JOSE object with compact serialisation.UnprotectedHeader JSON Web Signature (JWS) or JSON Web Encryption (JWE) unprotected header (in a JSON serialisation).UnprotectedHeader.Builder Builder for constructing an unprotected JWS or JWE header. -
Enum Summary Enum Description JWEObject.State Enumeration of the states of a JSON Web Encryption (JWE) secured object.JWSObject.State Enumeration of the states of a JSON Web Signature (JWS) secured object.JWSObjectJSON.State Enumeration of the states of a JSON Web Signature (JWS) secured object serialisable to JSON.Payload.Origin Enumeration of the original data types used to create aPayload
.Requirement Enumeration of JOSE algorithm implementation requirements. -
Exception Summary Exception Description ActionRequiredForJWSCompletionException Action required for JWS completion.JOSEException Javascript Object Signing and Encryption (JOSE) exception.KeyException Key exception.KeyLengthException Key length exception.KeySourceException Key source exception.KeyTypeException Key type exception.RemoteKeySourceException Remote key source exception.