JSR-62 (Final)

java.security.cert
Class Certificate.CertificateRep

java.lang.Object
  |
  +--java.security.cert.Certificate.CertificateRep
All Implemented Interfaces:
Serializable
Enclosing class:
Certificate

protected static class Certificate.CertificateRep
extends Object
implements Serializable

Alternate Certificate class for serialization.

See Also:
Serialized Form

Constructor Summary
protected Certificate.CertificateRep(String type, byte[] data)
          Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.
 
Method Summary
protected  Object readResolve()
          Resolve the Certificate Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Certificate.CertificateRep

protected Certificate.CertificateRep(String type,
                                     byte[] data)
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.

Parameters:
type - the standard name of the Certificate type.

data - the Certificate data.
Method Detail

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Resolve the Certificate Object.

Returns:
the resolved Certificate Object.
Throws:
ObjectStreamException - if the Certificate could not be resolved.

JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.