Serialized Form
Package com.ibm.security12.java.awt |
Package com.ibm.security12.java.io |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the FilePermission from
a stream.
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- WriteObject is called to save the state of the FilePermission
to a stream. The actions are serialized, and the superclass
takes care of the name.
actions
String actions
- the actions string.
Package com.ibm.security12.java.lang |
Package com.ibm.security12.java.net |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the SocketPermission from
a stream.
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- WriteObject is called to save the state of the SocketPermission
to a stream. The actions are serialized, and the superclass
takes care of the name.
actions
String actions
- the actions string.
Package com.ibm.security12.java.security |
perm
Permission perm
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the BasicPermission from
a stream.
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restores this object from a stream (i.e., deserializes it).
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
- Serial Data:
- An initial
URL
is followed by an
int
indicating the number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int
specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.
location
URL location
- The code location.
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
We check the guard if there is one.
guard
Guard guard
object
Object object
certificates
Vector certificates
- Deprecated.
- The certificates for this identity.
info
String info
- Deprecated.
- Generic, descriptive information about the identity.
name
String name
- Deprecated.
- The name for this identity.
publicKey
PublicKey publicKey
- Deprecated.
- The public key for this identity.
scope
IdentityScope scope
- Deprecated.
- The scope of the identity.
privateKey
PrivateKey privateKey
publicKey
PublicKey publicKey
name
String name
readOnly
boolean readOnly
allPermission
PermissionCollection allPermission
perms
Hashtable perms
exception
Exception exception
info
String info
- A description of the provider and its services.
name
String name
- The provider name.
version
double version
- The provider version number.
counter
long counter
digest
MessageDigest digest
provider
Provider provider
- The provider.
- Since:
- JDK 1.2
randomBytes
byte[] randomBytes
- We know that the MessageDigest class does not implement
java.io.Serializable. However, since this field is no longer
used, it will always be NULL and won't affect the serialization
of the SecureRandom class itself.
randomBytesUsed
int randomBytesUsed
secureRandomSpi
SecureRandomSpi secureRandomSpi
- The provider implementation.
- Since:
- JDK 1.2
state
byte[] state
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the SignedObject from
a stream.
content
byte[] content
signature
byte[] signature
thealgorithm
String thealgorithm
privateKey
PrivateKey privateKey
- The signer's private key.
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restores this object from a stream (i.e., deserializes it).
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
- Serial Data:
- An initial
String
denoting the
type
is followed by a String
denoting the
name
is followed by a String
denoting the
actions
is followed by an int
indicating the
number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int
specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.
actions
String actions
- The actions of the permission.
name
String name
- The permission name.
type
String type
- The class name of the Permission class that will be
created when this unresolved permission is resolved.
Package com.ibm.security12.java.security.cert |
Package com.ibm.security12.java.security.spec |
Package com.ibm.security12.java.util |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the ArrayList instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the ArrayList instance to a stream (that
is, serialize it).
- Serial Data:
- The length of the array backing the ArrayList
instance is emitted (int), followed by all of its elements
(each an Object) in the proper order.
size
int size
- The size of the ArrayList (the number of elements it contains).
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the HashMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the HashMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The capacity of the HashMap (the length of the
bucket array) is emitted (int), followed by the
size of the HashMap (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the HashMap
The key-value mappings are emitted in no particular order.
loadFactor
float loadFactor
- The load factor for the hashtable.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the HashSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of this HashSet instance to a stream (that is,
serialize this set).
- Serial Data:
- The capacity of the backing HashMap instance
(int), and its load factor (float) are emitted, followed by
the size of the set (the number of elements it contains)
(int), followed by all of its elements (each an Object) in
no particular order.
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the Hashtable from a stream (i.e., deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the Hashtable to a stream (i.e., serialize it).
- Serial Data:
- The capacity of the Hashtable (the length of the
bucket array) is emitted (int), followed by the
size of the Hashtable (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the Hashtable
The key-value mappings are emitted in no particular order.
loadFactor
float loadFactor
- The load factor for the hashtable.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute this LinkedList instance from a stream (that is
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of this LinkedList instance to a stream (that
is, serialize it).
- Serial Data:
- The size of the list (the number of elements it
contains) is emitted (int), followed by all of its
elements (each an Object) in the proper order.
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the PropertyPermission from
a stream.
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- WriteObject is called to save the state of the PropertyPermission
to a stream. The actions are serialized, and the superclass
takes care of the name.
actions
String actions
- The actions string.
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the TreeMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the TreeMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The size of the TreeMap (the number of key-value
mappings) is emitted (int), followed by the key (Object)
and value (Object) for each key-value mapping represented
by the TreeMap. The key-value mappings are emitted in
key-order (as determined by the TreeMap's Comparator,
or by the keys' natural ordering if the TreeMap has no
Comparator).
comparator
Comparator comparator
- The Comparator used to maintain order in this TreeMap, or
null if this TreeMap uses its elements natural ordering.
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the TreeSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the TreeSet instance to a stream (that is,
serialize it).
- Serial Data:
- Emits the comparator used to order this set, or
null if it obeys its elements' natural ordering
(Object), followed by the size of the set (the number of
elements it contains) (int), followed by all of its
elements (each an Object) in order (as determined by the
set's Comparator, or by the elements' natural ordering if
the set has no Comparator).
capacityIncrement
int capacityIncrement
- The amount by which the capacity of the vector is automatically
incremented when its size becomes greater than its capacity. If
the capacity increment is
0
, the capacity of the
vector is doubled each time it needs to grow.
elementCount
int elementCount
- The number of valid components in this Vector object.
Components elementData[0] through
elementData[elementCount-1] are the actual items.
elementData
Object[] elementData
- The array buffer into which the components of the vector are
stored. The capacity of the vector is the length of this array buffer,
and is at least large enough to contain all the vector's elements.
Any array elements following the last element in the Vector are null.
Package com.ibm.security12.java.util.jar |
Package com.ibm.security12.sun.applet |
applet
java.applet.Applet applet
- The applet (if loaded).
currentAppletSize
Dimension currentAppletSize
- The current applet size.
defaultAppletSize
Dimension defaultAppletSize
- The initial applet size.
doInit
boolean doInit
- Applet will allow initialization. Should be
set to false if loading a serialized applet
that was pickled in the init=true state.
handler
Thread handler
- The thread for the applet.
listeners
sun.applet.AppletListener listeners
loadAbortRequest
boolean loadAbortRequest
- Flag to indicate that a loading has been cancelled
loader
AppletClassLoader loader
- The classloader for the applet.
loaderThread
Thread loaderThread
- The thread to use during applet loading
mu
sun.misc.MessageUtils mu
queue
sun.misc.Queue queue
- AppletEvent Queue
status
int status
- The current status. One of:
APPLET_DISPOSE,
APPLET_LOAD,
APPLET_INIT,
APPLET_START,
APPLET_STOP,
APPLET_DESTROY,
APPLET_ERROR.
factory
AppletViewerFactory factory
- For cloning
label
Label label
- The status line.
panel
com.ibm.security12.sun.applet.AppletViewerPanel panel
- The panel in which the applet is being displayed.
statusMsgStream
PrintStream statusMsgStream
- output status messages to this stream
Package com.ibm.security12.sun.security.pkcs |
readObject
private void readObject(ObjectInputStream stream)
throws IOException
- Serialization read ... PKCS#8 keys serialize as
themselves, and they're parsed when they get read back.
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Serialization write ... PKCS#8 keys serialize as
themselves, and they're parsed when they get read back.
algid
AlgorithmId algid
encodedKey
byte[] encodedKey
key
byte[] key
Package com.ibm.security12.sun.security.provider |
x
java.math.BigInteger x
y
java.math.BigInteger y
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Serialization write.
identities
Hashtable identities
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
remainder
byte[] remainder
remCount
int remCount
state
byte[] state
info
String info
trusted
boolean trusted
trusted
boolean trusted
Package com.ibm.security12.sun.security.util |
componentLen
int componentLen
components
int[] components
Package com.ibm.security12.sun.security.x509 |
g
java.math.BigInteger g
p
java.math.BigInteger p
q
java.math.BigInteger q
algid
ObjectIdentifier algid
- The object identitifer being used for this algorithm.
algParams
AlgorithmParameters algParams
params
DerValue params
- Parameters for this algorithm. These are stored in unparsed
DER-encoded form; subclasses can be made to automaticaly parse
them so there is fast access to these parameters.
moreData
String moreData
- Deprecated.
verfCode
int verfCode
- Deprecated.
agent
X500Name agent
algid
AlgorithmId algid
sig
Signature sig
readObject
private void readObject(ObjectInputStream stream)
throws IOException
- Serialization read ... X.509 keys serialize as
themselves, and they're parsed when they get read back.
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Serialization write ... X.509 keys serialize as
themselves, and they're parsed when they get read back.
algid
AlgorithmId algid
encodedKey
byte[] encodedKey
key
byte[] key