API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Certificate View Source
Author(s)
Benjamin Renaud
Since
Version
1.39, 07/13/06
Serial
Hierarchy
 Certificate
Subinterfaces
Description
@Deprecated
public interface Certificate
  This is an interface of abstract methods for managing a variety of identity certificates.
See also:    Certificate
Methods
Hide/Show inherited methods
public void decode (InputStream stream) throws KeyException IOException
  Decodes a certificate from an input stream.
public void encode (OutputStream stream) throws KeyException IOException
  Encodes the certificate to an output stream in a format that can be decoded by the decode method.
public String getFormat ()
  Returns the name of the coding format.
public Principal getGuarantor ()
  Returns the guarantor of the certificate, that is, the principal guaranteeing that the public key associated with this certificate is that of the principal associated with this certificate.
public Principal getPrincipal ()
  Returns the principal of the principal-key pair being guaranteed by the guarantor.
public PublicKey getPublicKey ()
  Returns the key of the principal-key pair being guaranteed by the guarantor.
public String toString (boolean detailed)
  Returns a string that represents the contents of the certificate.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar