java.security.cert

Class CertPath.CertPathRep

  1. java.lang.Object
  2. extended byjava.security.cert.CertPath.CertPathRep
All implemented interfaces:
Serializable
Enclosing class:
CertPath

  1. protected static class CertPath.CertPathRep
  2. extends Object
  3. implements Serializable
Alternate CertPath class for serialization.
See Also:
Serialized Form

Constructor Summary

Modifier Constructor and Description
  1. protected
CertPath.CertPathRep(String type,byte[] data)
Creates a CertPathRep with the specified type and encoded form of a certification path.

Method Summary

Modifier and Type Method and Description
  1. protected
  2. Object
readResolve()
Returns a CertPath constructed from the type and data.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CertPath.CertPathRep

  1. protected CertPath.CertPathRep( String type,
  2. byte[] data)
Creates a CertPathRep with the specified type and encoded form of a certification path.
Parameters:
type - the standard name of a CertPath type
data - the encoded form of the certification path

Method Detail

readResolve

  1. protected Object readResolve()
  2. throws ObjectStreamException
Returns a CertPath constructed from the type and data.
Returns:
the resolved CertPath object
Throws:
ObjectStreamException - if a CertPath could not be constructed