Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: PKCS12PBECipherCore [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.PKCS12PBECipherCore
This class implements password-base encryption algorithm with SHA1 digest and the following Ciphers in CBC mode - DESede cipher and - RC2 Cipher with 40-bit effective key length as defined by PKCS #12 version 1.0 standard.
Nested Class Summary:
public static final class  PKCS12PBECipherCore.PBEWithSHA1AndDESede   
public static final class  PKCS12PBECipherCore.PBEWithSHA1AndRC2_40   
Field Summary
static final  int CIPHER_KEY     
static final  int CIPHER_IV     
static final  int MAC_KEY     
Constructor:
 PKCS12PBECipherCore(String symmCipherAlg,
    int defKeySize) throws NoSuchAlgorithmException 
Method from com.sun.crypto.provider.PKCS12PBECipherCore Summary:
derive,   implDoFinal,   implDoFinal,   implGetBlockSize,   implGetIV,   implGetKeySize,   implGetOutputSize,   implGetParameters,   implInit,   implInit,   implInit,   implSetMode,   implSetPadding,   implUnwrap,   implUpdate,   implUpdate,   implWrap
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.PKCS12PBECipherCore Detail:
 static byte[] derive(char[] chars,
    byte[] salt,
    int ic,
    int n,
    int type) 
 byte[] implDoFinal(byte[] in,
    int inOff,
    int inLen) throws IllegalBlockSizeException, BadPaddingException 
 int implDoFinal(byte[] in,
    int inOff,
    int inLen,
    byte[] out,
    int outOff) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException 
 int implGetBlockSize() 
 byte[] implGetIV() 
 int implGetKeySize(Key key) throws InvalidKeyException 
 int implGetOutputSize(int inLen) 
 AlgorithmParameters implGetParameters() 
  void implInit(int opmode,
    Key key,
    SecureRandom random) throws InvalidKeyException 
  void implInit(int opmode,
    Key key,
    AlgorithmParameterSpec params,
    SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException 
  void implInit(int opmode,
    Key key,
    AlgorithmParameters params,
    SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException 
  void implSetMode(String mode) throws NoSuchAlgorithmException 
  void implSetPadding(String padding) throws NoSuchPaddingException 
 Key implUnwrap(byte[] wrappedKey,
    String wrappedKeyAlgorithm,
    int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException 
 byte[] implUpdate(byte[] in,
    int inOff,
    int inLen) 
 int implUpdate(byte[] in,
    int inOff,
    int inLen,
    byte[] out,
    int outOff) throws ShortBufferException 
 byte[] implWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException