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

Quick Search    Search Deep

javax.crypto
Class NullCipher  view NullCipher download NullCipher.java

java.lang.Object
  extended byjavax.crypto.Cipher
      extended byjavax.crypto.NullCipher

public class NullCipher
extends Cipher

Trivial subclass of Cipher that implements the identity transformation, where the input is always copied to the output unchanged. Null ciphers can be instantiated with the public constructor.


Field Summary
 
Fields inherited from class javax.crypto.Cipher
DECRYPT_MODE, ENCRYPT_MODE, PRIVATE_KEY, PUBLIC_KEY, SECRET_KEY, UNWRAP_MODE, WRAP_MODE
 
Constructor Summary
NullCipher()
          Create a new identity cipher.
 
Methods inherited from class javax.crypto.Cipher
doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getBlockSize, getExemptionMechanism, getInstance, getInstance, getInstance, getIV, getOutputSize, getParameters, getProvider, init, init, init, init, init, init, init, init, unwrap, update, update, update, update, update, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCipher

public NullCipher()
Create a new identity cipher.