Serialized Form


Package javax.crypto

Class javax.crypto.BadPaddingException extends GeneralSecurityException implements Serializable

serialVersionUID: -5315033893984728443L

Class javax.crypto.ExemptionMechanismException extends GeneralSecurityException implements Serializable

serialVersionUID: 1572699429277957109L

Class javax.crypto.IllegalBlockSizeException extends GeneralSecurityException implements Serializable

serialVersionUID: -1965144811953540392L

Class javax.crypto.NoSuchPaddingException extends GeneralSecurityException implements Serializable

serialVersionUID: -4572885201200175466L

Class javax.crypto.SealedObject extends Object implements Serializable

serialVersionUID: 4482838265551344752L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Restores the state of the SealedObject from a stream.

Throws:
NullPointerException - if s is null.
IOException
ClassNotFoundException
Serialized Fields

encryptedContent

byte[] encryptedContent
The serialized object contents in encrypted format.

 

sealAlg

String sealAlg
The algorithm that was used to seal this object.

 

paramsAlg

String paramsAlg
The algorithm of the parameters used.

 

encodedParams

byte[] encodedParams
The cryptographic parameters used by the sealing Cipher, encoded in the default format.

That is, cipher.getParameters().getEncoded().

 

Class javax.crypto.ShortBufferException extends GeneralSecurityException implements Serializable

serialVersionUID: 8427718640832943747L


Package javax.crypto.interfaces

Package javax.crypto.spec

Class javax.crypto.spec.SecretKeySpec extends Object implements Serializable

serialVersionUID: 6577238317307289933L

Serialized Fields

key

byte[] key
The secret key.

 

algorithm

String algorithm
The name of the algorithm associated with this key.