Uses of Enum
org.jivesoftware.smackx.hashes.HashManager.ALGORITHM
Package
Description
Smacks implementation of XEP-0446: File Metadata Element.
XEP-0300 - Use of cryptographic hash functions.
XEP-0300 - Use of cryptographic hash functions.
-
Uses of HashManager.ALGORITHM in org.jivesoftware.smackx.file_metadata.element
Modifier and TypeMethodDescriptionFileMetadataElement.getHashElement
(HashManager.ALGORITHM algorithm) -
Uses of HashManager.ALGORITHM in org.jivesoftware.smackx.hashes
Modifier and TypeFieldDescriptionstatic final List<HashManager.ALGORITHM>
HashManager.RECOMMENDED
Modifier and TypeMethodDescriptionstatic HashManager.ALGORITHM
Returns the enum constant of this type with the specified name.static HashManager.ALGORITHM
HashManager.ALGORITHM.valueOfName
(String s) Compensational method for static 'valueOf' function.static HashManager.ALGORITHM[]
HashManager.ALGORITHM.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic String
HashManager.asFeature
(HashManager.ALGORITHM algorithm) Return the feature name of the given algorithm.static HashElement
HashManager.assembleHashElement
(HashManager.ALGORITHM algorithm, byte[] hash) static HashElement
HashManager.calculateHashElement
(HashManager.ALGORITHM algorithm, byte[] data) static MessageDigest
HashManager.getMessageDigest
(HashManager.ALGORITHM algorithm) static byte[]
HashManager.hash
(HashManager.ALGORITHM algorithm, byte[] data) Calculate the hash sum of data using algorithm.static byte[]
HashManager.hash
(HashManager.ALGORITHM algorithm, String data) Modifier and TypeMethodDescriptionvoid
HashManager.addAlgorithmsToFeatures
(List<HashManager.ALGORITHM> algorithms) Announce support for the given list of algorithms. -
Uses of HashManager.ALGORITHM in org.jivesoftware.smackx.hashes.element
Modifier and TypeMethodDescriptionHashElement.getAlgorithm()
Return the hash algorithm used in this HashElement.ModifierConstructorDescriptionHashElement
(HashManager.ALGORITHM algorithm, byte[] hash) Create a HashElement from pre-calculated values.HashElement
(HashManager.ALGORITHM algorithm, String hashB64) Create a HashElement from pre-calculated values.