java.security.cert
Class Certificate

java.lang.Object
  extended by java.security.cert.Certificate
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
X509Certificate

public abstract class Certificate
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
protected static class Certificate.CertificateRep
           
 
Constructor Summary
protected Certificate(String var0)
           
 
Method Summary
 boolean equals(Object var0)
           
abstract  byte[] getEncoded()
           
abstract  PublicKey getPublicKey()
           
 String getType()
           
 int hashCode()
           
abstract  String toString()
           
abstract  void verify(PublicKey var0)
           
abstract  void verify(PublicKey var0, String var1)
           
protected  Object writeReplace()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Certificate

protected Certificate(String var0)
Method Detail

equals

public boolean equals(Object var0)
Overrides:
equals in class Object

getEncoded

public abstract byte[] getEncoded()
                           throws CertificateEncodingException
Throws:
CertificateEncodingException

getPublicKey

public abstract PublicKey getPublicKey()

getType

public final String getType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public abstract String toString()
Overrides:
toString in class Object

verify

public abstract void verify(PublicKey var0)
                     throws CertificateException,
                            NoSuchAlgorithmException,
                            InvalidKeyException,
                            NoSuchProviderException,
                            SignatureException
Throws:
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException

verify

public abstract void verify(PublicKey var0,
                            String var1)
                     throws CertificateException,
                            NoSuchAlgorithmException,
                            InvalidKeyException,
                            NoSuchProviderException,
                            SignatureException
Throws:
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.