Package io.vertx.mutiny.ext.auth.hashing
Class HashingAlgorithm
java.lang.Object
io.vertx.mutiny.ext.auth.hashing.HashingAlgorithm
- All Implemented Interfaces:
MutinyDelegate
Hashing Algorithm. A common interface to interact with any system provided algorithms.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Paulo Lopes
- See Also:
-
HashingAlgorithm
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHashingAlgorithm(io.vertx.ext.auth.hashing.HashingAlgorithm delegate) Create a new instance ofHashingAlgorithmdelegating to the given (non-null) instance ofHashingAlgorithm.HashingAlgorithm(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.ext.auth.hashing.HashingAlgorithmGet the delegate instance.inthashCode()id()return the symbolic name for the algorithmbooleanShould the encoded string use the default separator to split fields.static HashingAlgorithmnewInstance(io.vertx.ext.auth.hashing.HashingAlgorithm delegate) Creates a new instance of theHashingAlgorithm.params()return the list of param names required for this algorithm.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HashingAlgorithm
public HashingAlgorithm(io.vertx.ext.auth.hashing.HashingAlgorithm delegate) Create a new instance ofHashingAlgorithmdelegating to the given (non-null) instance ofHashingAlgorithm. -
HashingAlgorithm
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.hashing.HashingAlgorithm getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
id
return the symbolic name for the algorithm- Returns:
- short id e.g.: sha512.
-
params
return the list of param names required for this algorithm.- Returns:
- set of param names.
-
needsSeparator
public boolean needsSeparator()Should the encoded string use the default separator to split fields.- Returns:
- true by default.
-
newInstance
Creates a new instance of theHashingAlgorithm. -
hashCode
public int hashCode() -
equals
-
toString
-