Serialized Form
Package javax.crypto
- Class javax.crypto.BadPaddingException extends java.security.GeneralSecurityException implements Serializable serialVersionUID: -5315033893984728443L
- Class javax.crypto.ExemptionMechanismException extends java.security.GeneralSecurityException implements Serializable serialVersionUID: 1572699429277957109L
- Class javax.crypto.IllegalBlockSizeException extends java.security.GeneralSecurityException implements Serializable serialVersionUID: -1965144811953540392L
- Class javax.crypto.NoSuchPaddingException extends java.security.GeneralSecurityException implements Serializable serialVersionUID: -4572885201200175466L
- Class javax.crypto.SealedObject extends java.lang.Object implements Serializable serialVersionUID: 4482838265551344752L
- private void readObject(java.io.ObjectInputStream s)
- throws java.io.IOException
- java.lang.ClassNotFoundException
- byte[] encryptedContent
- java.lang.String sealAlg
- java.lang.String paramsAlg
- byte[] encodedParams
- Class javax.crypto.ShortBufferException extends java.security.GeneralSecurityException implements Serializable serialVersionUID: 8427718640832943747L
Serialization Methods
readObject
Restores the state of the SealedObject from a stream.
Throws:
java.lang.NullPointerException
- if s is null. java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields
encryptedContent
The serialized object contents in encrypted format.
sealAlg
The algorithm that was used to seal this object.
paramsAlg
The algorithm of the parameters used.
encodedParams
The cryptographic parameters used by the sealing Cipher,
encoded in the default format.
That is, cipher.getParameters().getEncoded()
.
Package javax.crypto.interfaces
Package javax.crypto.spec
- Class javax.crypto.spec.SecretKeySpec extends java.lang.Object implements Serializable serialVersionUID: 6577238317307289933L
- byte[] key
- java.lang.String algorithm
Serialized Fields
key
The secret key.
algorithm
The name of the algorithm associated with this key.