Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class PBEWithMD2AndDES  view PBEWithMD2AndDES download

  extended byjavax.crypto.CipherSpi
      extended bycryptix.jce.provider.pbe.PBEBase
          extended bycryptix.jce.provider.pbe.PBEWithMD2AndDES

public final class PBEWithMD2AndDES
extends PBEBase

Field Summary
private static java.lang.String algorithm
          Name of the used symmetric algorithm.
private static java.lang.String messageDigest
          Name of the used message digest function.
Fields inherited from class cryptix.jce.provider.pbe.PBEBase
cipher, mode, padding, provider
Constructor Summary
          This is the constructor.
Method Summary
protected  void coreInit(int opmode, byte[] password, byte[] salt, int iteration)
          This method is only implemented by subclasses of PBEBase.
Methods inherited from class cryptix.jce.provider.pbe.PBEBase
clone, coreKeyGen, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdate
Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineWrap
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private static final java.lang.String algorithm
Name of the used symmetric algorithm.

See Also:
Constant Field Values


private static final java.lang.String messageDigest
Name of the used message digest function.

See Also:
Constant Field Values
Constructor Detail


public PBEWithMD2AndDES()
This is the constructor. It creates a cipher object using provider Cryptix, cipher DES in CBC mode and PKCS#5 padding.

Method Detail


protected void coreInit(int opmode,
                        byte[] password,
                        byte[] salt,
                        int iteration)
Description copied from class: PBEBase
This method is only implemented by subclasses of PBEBase. All params which are needed for PBE are passed to it

Specified by:
coreInit in class PBEBase