Class JoseConstants
java.lang.Object
org.apache.cxf.rt.security.rs.RSSecurityConstants
org.apache.cxf.rs.security.jose.common.JoseConstants
public final class JoseConstants
extends org.apache.cxf.rt.security.rs.RSSecurityConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhether to allow unsigned JWT tokens as SecurityContext Principals.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringWhether to trace JOSE headers.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringWhether to allow using a JWK received in the header for signature validation.static final StringA reference to a PrivateKeyPasswordProvider instance used to retrieve passwords to access keys for decryption.static final StringThe max value for the "p2c" (PBES2 count) Header Parameter used for decryption.static final StringThe EC Curve to use with EC keys loaded from Java Key Store.static final StringThe encryption content algorithm to use.static final StringThe decryption properties file for decryption.static final StringInclude the X.509 certificate for encryption the "x5c" header.static final StringInclude the X.509 certificate SHA-1 digest for encryption in the "x5t" header.static final StringInclude the X.509 certificate SHA-256 digest for encryption in the "x5t#S256" header.static final StringInclude the JWK key id for encryption in the "kid" header.static final StringInclude the JWK public key for encryption in the "jwk" header.static final StringThe encryption key algorithm to use.static final StringThe encryption properties file for encryption creation.static final StringThe value to be used for the "p2c" (PBES2 count) Header Parameter.static final StringThe encryption/decryption properties filestatic final StringThe encryption zip algorithm to use.static final StringThe keystore aliases corresponding to the keys to use, when using the JSON serialization form.static final Stringstatic final StringTODO documentation for thesestatic final StringInclude the X.509 certificate for signature in the "x5c" header.static final StringInclude the X.509 certificate SHA-1 digest for signature in the "x5t" header.static final StringInclude the X.509 certificate SHA-256 digest for signature in the "x5t#S256" header.static final StringInclude the JWK key id for signature in the "kid" header.static final StringInclude the JWK public key for signature in the "jwk" header.static final StringA reference to a PrivateKeyPasswordProvider instance used to retrieve passwords to access keys for signature.static final Stringstatic final Stringstatic final StringFields inherited from class org.apache.cxf.rt.security.rs.RSSecurityConstants
RSSEC_ENABLE_REVOCATION, RSSEC_KEY_PSWD, RSSEC_KEY_PSWD_PROVIDER, RSSEC_KEY_STORE, RSSEC_KEY_STORE_ALIAS, RSSEC_KEY_STORE_FILE, RSSEC_KEY_STORE_PSWD, RSSEC_KEY_STORE_TYPE, RSSEC_SIGNATURE_ALGORITHM, RSSEC_SIGNATURE_IN_PROPS, RSSEC_SIGNATURE_OUT_PROPS, RSSEC_SIGNATURE_PROPS -
Method Summary
-
Field Details
-
HEADER_TYPE
- See Also:
-
HEADER_ALGORITHM
- See Also:
-
HEADER_CONTENT_TYPE
- See Also:
-
HEADER_CRITICAL
- See Also:
-
HEADER_KEY_ID
- See Also:
-
HEADER_X509_URL
- See Also:
-
HEADER_X509_CHAIN
- See Also:
-
HEADER_X509_THUMBPRINT
- See Also:
-
HEADER_X509_THUMBPRINT_SHA256
- See Also:
-
HEADER_JSON_WEB_KEY
- See Also:
-
HEADER_JSON_WEB_KEY_SET
- See Also:
-
JWE_HEADER_KEY_ENC_ALGORITHM
- See Also:
-
JWE_HEADER_CONTENT_ENC_ALGORITHM
- See Also:
-
JWE_HEADER_ZIP_ALGORITHM
- See Also:
-
JWE_DEFLATE_ZIP_ALGORITHM
- See Also:
-
JWS_HEADER_B64_STATUS_HEADER
- See Also:
-
TYPE_JWT
- See Also:
-
TYPE_JOSE
- See Also:
-
TYPE_JOSE_JSON
- See Also:
-
MEDIA_TYPE_JOSE
- See Also:
-
MEDIA_TYPE_JOSE_JSON
- See Also:
-
JOSE_CONTEXT_PROPERTY
- See Also:
-
RSSEC_KEY_STORE_ALIASES
The keystore aliases corresponding to the keys to use, when using the JSON serialization form. You can append one of the following to this tag to get the alias for more specific operations: - jws.out - jws.in- See Also:
-
RSSEC_ACCEPT_PUBLIC_KEY
Whether to allow using a JWK received in the header for signature validation. The default is "false".- See Also:
-
RSSEC_KEY_STORE_JWKSET
TODO documentation for these- See Also:
-
RSSEC_KEY_STORE_JWKKEY
- See Also:
-
RSSEC_SIGNATURE_KEY_PSWD_PROVIDER
A reference to a PrivateKeyPasswordProvider instance used to retrieve passwords to access keys for signature. If this is not specified it falls back to use the RSSEC_KEY_PSWD_PROVIDER.- See Also:
-
RSSEC_EC_CURVE
The EC Curve to use with EC keys loaded from Java Key Store. JWK EC Keys are expected to use a standard "crv" property instead.- See Also:
-
RSSEC_SIGNATURE_INCLUDE_PUBLIC_KEY
Include the JWK public key for signature in the "jwk" header.- See Also:
-
RSSEC_SIGNATURE_INCLUDE_CERT
Include the X.509 certificate for signature in the "x5c" header.- See Also:
-
RSSEC_SIGNATURE_INCLUDE_KEY_ID
Include the JWK key id for signature in the "kid" header.- See Also:
-
RSSEC_SIGNATURE_INCLUDE_CERT_SHA1
Include the X.509 certificate SHA-1 digest for signature in the "x5t" header.- See Also:
-
RSSEC_SIGNATURE_INCLUDE_CERT_SHA256
Include the X.509 certificate SHA-256 digest for signature in the "x5t#S256" header.- See Also:
-
RSSEC_DECRYPTION_KEY_PSWD_PROVIDER
A reference to a PrivateKeyPasswordProvider instance used to retrieve passwords to access keys for decryption. If this is not specified it falls back to use the RSSEC_KEY_PSWD_PROVIDER.- See Also:
-
RSSEC_ENCRYPTION_CONTENT_ALGORITHM
The encryption content algorithm to use. The default algorithm if not specified is 'A128GCM'.- See Also:
-
RSSEC_ENCRYPTION_KEY_ALGORITHM
The encryption key algorithm to use. The default algorithm if not specified is 'RSA-OAEP' if the key is an RSA key, and 'A128GCMKW' if it is an octet sequence.- See Also:
-
RSSEC_ENCRYPTION_ZIP_ALGORITHM
The encryption zip algorithm to use.- See Also:
-
RSSEC_ENCRYPTION_OUT_PROPS
The encryption properties file for encryption creation. If not specified then it falls back to RSSEC_ENCRYPTION_PROPS.- See Also:
-
RSSEC_ENCRYPTION_IN_PROPS
The decryption properties file for decryption. If not specified then it falls back to RSSEC_ENCRYPTION_PROPS.- See Also:
-
RSSEC_ENCRYPTION_PROPS
The encryption/decryption properties file- See Also:
-
RSSEC_ENCRYPTION_INCLUDE_PUBLIC_KEY
Include the JWK public key for encryption in the "jwk" header.- See Also:
-
RSSEC_ENCRYPTION_INCLUDE_CERT
Include the X.509 certificate for encryption the "x5c" header.- See Also:
-
RSSEC_ENCRYPTION_INCLUDE_KEY_ID
Include the JWK key id for encryption in the "kid" header.- See Also:
-
RSSEC_ENCRYPTION_INCLUDE_CERT_SHA1
Include the X.509 certificate SHA-1 digest for encryption in the "x5t" header.- See Also:
-
RSSEC_ENCRYPTION_INCLUDE_CERT_SHA256
Include the X.509 certificate SHA-256 digest for encryption in the "x5t#S256" header.- See Also:
-
RSSEC_ENCRYPTION_PBES2_COUNT
The value to be used for the "p2c" (PBES2 count) Header Parameter. The default is 4096.- See Also:
-
RSSEC_DECRYPTION_MAX_PBES2_COUNT
The max value for the "p2c" (PBES2 count) Header Parameter used for decryption. The default is 1_000_000.- See Also:
-
ENABLE_UNSIGNED_JWT_PRINCIPAL
Whether to allow unsigned JWT tokens as SecurityContext Principals. The default is false.- See Also:
-
JOSE_DEBUG
Whether to trace JOSE headers.- See Also:
-