- All Superinterfaces:
JOSEHeader
JSON Web Encryption JOSE header as defined by RFC7516 Section 4.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the compression algorithm.Returns the encryption algorithm.int
hashCode()
Methods inherited from interface io.inverno.mod.security.jose.JOSEHeader
getAlgorithm, getContentType, getCritical, getCustomParameters, getEncoded, getJWK, getJWKSetURL, getKey, getKeyId, getType, getX509CertificateChain, getX509CertificateSHA1Thumbprint, getX509CertificateSHA256Thumbprint, getX509CertificateURL
-
Method Details
-
getEncryptionAlgorithm
String getEncryptionAlgorithm()Returns the encryption algorithm.
.- Returns:
- the encryption algorithm
-
getCompressionAlgorithm
String getCompressionAlgorithm()Returns the compression algorithm.
- Returns:
- the compression algorithm or null
-
hashCode
int hashCode()- Specified by:
hashCode
in interfaceJOSEHeader
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceJOSEHeader
- Overrides:
equals
in classObject
-