javax.crypto
Class SealedObject
java.lang.Object
javax.crypto.SealedObject
- All Implemented Interfaces:
- Serializable
public class SealedObject
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encodedParams
protected byte[] encodedParams
SealedObject
public SealedObject(Serializable object,
Cipher c)
throws IOException,
IllegalBlockSizeException
- Throws:
IOException
IllegalBlockSizeException
SealedObject
protected SealedObject(SealedObject so)
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
Please submit a feedback, bug or feature