Package org.bouncycastle.crypto
Interface Algorithm
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DigestAlgorithm
- All Known Implementing Classes:
FipsAlgorithm
,FipsDigestAlgorithm
,GeneralAlgorithm
,GeneralDigestAlgorithm
Base interface for an algorithm descriptor.
-
Method Details
-
getName
String getName()Return a string representation of the algorithm.- Returns:
- the algorithm name.
-
requiresAlgorithmParameters
boolean requiresAlgorithmParameters()Returns true if this algorithm requires additional parameter fields, false otherwise.- Returns:
- true if algorithm requires parameters.
-
equals
Object equals method. -
hashCode
int hashCode()Object hashCode method.
-