com.ibm.crypto.pkcs11impl.provider
Class GeneralPKCS11Cipher

java.lang.Object
  extended by javax.crypto.CipherSpi
      extended by com.ibm.crypto.pkcs11impl.provider.GeneralPKCS11Cipher

public class GeneralPKCS11Cipher
extends javax.crypto.CipherSpi

This class is the generic interface that calls the PKCS11Cipher class using parameters to do the actual encryption/decryption using a PKCS11 interface. PKCS11 supports ECB and CBC with padding.

Version:
1.0, 13/1/2005

Constructor Summary
GeneralPKCS11Cipher(java.security.Provider provider, java.lang.String algorithm)
          Creates an instance of the cipher with default ECB mode.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralPKCS11Cipher

public GeneralPKCS11Cipher(java.security.Provider provider,
                           java.lang.String algorithm)
Creates an instance of the cipher with default ECB mode.

Throws:
java.lang.SecurityException - if this constructor fails to authenticate the JCE framework.