Package org.jose4j.zip
Class DeflateRFC1951CompressionAlgorithm
java.lang.Object
org.jose4j.zip.DeflateRFC1951CompressionAlgorithm
- All Implemented Interfaces:
Algorithm
,CompressionAlgorithm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
compress
(byte[] data) byte[]
decompress
(byte[] compressedData) boolean
-
Constructor Details
-
DeflateRFC1951CompressionAlgorithm
public DeflateRFC1951CompressionAlgorithm()
-
-
Method Details
-
compress
public byte[] compress(byte[] data) - Specified by:
compress
in interfaceCompressionAlgorithm
-
decompress
- Specified by:
decompress
in interfaceCompressionAlgorithm
- Throws:
JoseException
-
getJavaAlgorithm
- Specified by:
getJavaAlgorithm
in interfaceAlgorithm
-
getAlgorithmIdentifier
- Specified by:
getAlgorithmIdentifier
in interfaceAlgorithm
-
getKeyPersuasion
- Specified by:
getKeyPersuasion
in interfaceAlgorithm
-
getKeyType
- Specified by:
getKeyType
in interfaceAlgorithm
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailable
in interfaceAlgorithm
-