Build 1.0_r1(from source)

javax.crypto
Class SealedObject

java.lang.Object
  extended by javax.crypto.SealedObject
All Implemented Interfaces:
Serializable

public class SealedObject
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  byte[] encodedParams
           
 
Constructor Summary
protected SealedObject(SealedObject so)
           
  SealedObject(Serializable object, Cipher c)
           
 
Method Summary
 String getAlgorithm()
           
 Object getObject(Cipher c)
           
 Object getObject(Key key)
           
 Object getObject(Key key, String provider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encodedParams

protected byte[] encodedParams
Constructor Detail

SealedObject

public SealedObject(Serializable object,
                    Cipher c)
             throws IOException,
                    IllegalBlockSizeException
Throws:
IOException
IllegalBlockSizeException

SealedObject

protected SealedObject(SealedObject so)
Method Detail

getAlgorithm

public final String getAlgorithm()

getObject

public final Object getObject(Key key)
                       throws IOException,
                              ClassNotFoundException,
                              NoSuchAlgorithmException,
                              InvalidKeyException
Throws:
IOException
ClassNotFoundException
NoSuchAlgorithmException
InvalidKeyException

getObject

public final Object getObject(Cipher c)
                       throws IOException,
                              ClassNotFoundException,
                              IllegalBlockSizeException,
                              BadPaddingException
Throws:
IOException
ClassNotFoundException
IllegalBlockSizeException
BadPaddingException

getObject

public final Object getObject(Key key,
                              String provider)
                       throws IOException,
                              ClassNotFoundException,
                              NoSuchAlgorithmException,
                              NoSuchProviderException,
                              InvalidKeyException
Throws:
IOException
ClassNotFoundException
NoSuchAlgorithmException
NoSuchProviderException
InvalidKeyException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature