Top Description Methods
org.bouncycastle.crypto

public Interface Algorithm

extends Serializable
Known Direct Subinterfaces
org.bouncycastle.crypto.DigestAlgorithm
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsAlgorithm, org.bouncycastle.crypto.general.GeneralAlgorithm
Imports
java.io.Serializable

Base interface for an algorithm descriptor.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if o is equal to this, false otherwise.
equals
(Object
the object to be checked for equality.
o
)

Object equals method.

public String

Returns:

the algorithm name.
getName
()

Return a string representation of the algorithm.

public int

Returns:

calculated hash code for this object.
hashCode
()

Object hashCode method.

public boolean

Returns:

true if algorithm requires parameters.
requiresAlgorithmParameters
()

Returns true if this algorithm requires additional parameter fields, false otherwise.

Method Detail

equalsback to summary
public boolean equals(Object o)

Object equals method.

Parameters
o:Object

the object to be checked for equality.

Returns:boolean

true if o is equal to this, false otherwise.

getNameback to summary
public String getName()

Return a string representation of the algorithm.

Returns:String

the algorithm name.

hashCodeback to summary
public int hashCode()

Object hashCode method.

Returns:int

calculated hash code for this object.

requiresAlgorithmParametersback to summary
public boolean requiresAlgorithmParameters()

Returns true if this algorithm requires additional parameter fields, false otherwise.

Returns:boolean

true if algorithm requires parameters.