Build 1.0_r1(from source)

javax.crypto.spec
Class RC2ParameterSpec

java.lang.Object
  extended by javax.crypto.spec.RC2ParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class RC2ParameterSpec
extends Object
implements AlgorithmParameterSpec


Constructor Summary
RC2ParameterSpec(int effectiveKeyBits)
           
RC2ParameterSpec(int effectiveKeyBits, byte[] iv)
           
RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset)
           
 
Method Summary
 boolean equals(Object obj)
          Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
 int getEffectiveKeyBits()
           
 byte[] getIV()
           
 int hashCode()
          Returns an integer hash code for the receiver.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RC2ParameterSpec

public RC2ParameterSpec(int effectiveKeyBits)

RC2ParameterSpec

public RC2ParameterSpec(int effectiveKeyBits,
                        byte[] iv)

RC2ParameterSpec

public RC2ParameterSpec(int effectiveKeyBits,
                        byte[] iv,
                        int offset)
Method Detail

getEffectiveKeyBits

public int getEffectiveKeyBits()

getIV

public byte[] getIV()

equals

public boolean equals(Object obj)
Description copied from class: Object
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Overrides:
equals in class Object
Parameters:
obj - Object the object to compare with this object.
Returns:
boolean true if the object is the same as this object false if it is different from this object.
See Also:
Object.hashCode()

hashCode

public int hashCode()
Description copied from class: Object
Returns an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.

Overrides:
hashCode in class Object
Returns:
int the receiver's hash.
See Also:
Object.equals(java.lang.Object)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature