Package org.bouncycastle.crypto.general
Class GeneralAlgorithm
- java.lang.Object
-
- org.bouncycastle.crypto.general.GeneralAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,Algorithm
- Direct Known Subclasses:
GeneralDigestAlgorithm
public class GeneralAlgorithm extends java.lang.Object implements Algorithm
Base class for the marker/algorithm ids for non-FIPS algorithms.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Object equals method.java.lang.String
getName()
Return a string representation of the algorithm.int
hashCode()
Object hashCode method.boolean
requiresAlgorithmParameters()
Returns true if this algorithm requires additional parameter fields, false otherwise.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Algorithm
Return a string representation of the algorithm.
-
requiresAlgorithmParameters
public final boolean requiresAlgorithmParameters()
Description copied from interface:Algorithm
Returns true if this algorithm requires additional parameter fields, false otherwise.- Specified by:
requiresAlgorithmParameters
in interfaceAlgorithm
- Returns:
- true if algorithm requires parameters.
-
equals
public boolean equals(java.lang.Object o)
Description copied from interface:Algorithm
Object equals method.
-
-