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

Quick Search    Search Deep

cryptix.jce.provider.pbe
Class PBEWithMD2AndDES  view PBEWithMD2AndDES download PBEWithMD2AndDES.java

java.lang.Object
  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
PBEWithMD2AndDES()
          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

algorithm

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

See Also:
Constant Field Values

messageDigest

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

See Also:
Constant Field Values
Constructor Detail

PBEWithMD2AndDES

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

coreInit

protected void coreInit(int opmode,
                        byte[] password,
                        byte[] salt,
                        int iteration)
                 throws java.security.InvalidKeyException
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