Android
javax.security.cert
public abstract class

javax.security.cert.Certificate

java.lang.Object
javax.security.cert.Certificate
Known Direct Subclasses

Summary

Public Constructors

            Certificate()

Public Methods

          boolean  equals(Object obj)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
abstract          byte[]  getEncoded()
abstract          PublicKey  getPublicKey()
          int  hashCode()
Returns an integer hash code for the receiver.
abstract          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
abstract          void  verify(PublicKey key, String sigProvider)
abstract          void  verify(PublicKey key)
Methods inherited from class java.lang.Object

Details

Public Constructors

public Certificate()

Public Methods

public boolean equals(Object obj)

Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Parameters

obj Object the object to compare with this object.

Returns

  • boolean true if the object is the same as this object false if it is different from this object.

public abstract byte[] getEncoded()

public abstract PublicKey getPublicKey()

public int hashCode()

Returns an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.

Returns

  • int the receiver's hash.

public abstract String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48