Android
javax.crypto.spec
public class

javax.crypto.spec.RC2ParameterSpec

java.lang.Object
javax.crypto.spec.RC2ParameterSpec AlgorithmParameterSpec

Summary

Public Constructors

            RC2ParameterSpec(int effectiveKeyBits)
            RC2ParameterSpec(int effectiveKeyBits, byte[] iv)
            RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset)

Public Methods

          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

Details

Public Constructors

public RC2ParameterSpec(int effectiveKeyBits)

public RC2ParameterSpec(int effectiveKeyBits, byte[] iv)

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

Public Methods

public boolean equals(Object obj)

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 (==).

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.

public int getEffectiveKeyBits()

public byte[] getIV()

public int hashCode()

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.

Returns

  • int the receiver's hash.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48