- All Superinterfaces:
JOSEHeader
JSON Web Encryption JOSE header as defined by RFC7516 Section 4.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the compression algorithm.Returns the encryption algorithm.inthashCode()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:
hashCodein interfaceJOSEHeader- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceJOSEHeader- Overrides:
equalsin classObject
-