Android APIs
protected static class

Certificate.CertificateRep

extends Object
implements Serializable
java.lang.Object
   ↳ java.security.cert.Certificate.CertificateRep

Class Overview

The alternate Serializable class to be used for serialization and deserialization of Certificate objects.

Summary

Protected Constructors
Certificate.CertificateRep(String type, byte[] data)
Creates a new CertificateRep instance with the specified certificate type and encoded data.
Protected Methods
Object readResolve()
Deserializes a Certificate from a serialized CertificateRep object.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected Certificate.CertificateRep (String type, byte[] data)

Added in API level 1

Creates a new CertificateRep instance with the specified certificate type and encoded data.

Parameters
type the certificate type.
data the encoded data.

Protected Methods

protected Object readResolve ()

Added in API level 1

Deserializes a Certificate from a serialized CertificateRep object.

Returns
Object the deserialized Certificate.
Throws
ObjectStreamException if deserialization fails.