Methods Summary |
---|
public void | decode(java.io.InputStream stream)Decodes a certificate from the given {@code InputStream}. The format of
the data to encode must be that identified by {@link #getFormat()} and
encoded by {@link #encode(OutputStream)}.
|
public void | encode(java.io.OutputStream stream)Encodes this certificate to an output stream. The
{@link #decode(InputStream)} method must be able to decode the format
written by this method.
|
public java.lang.String | getFormat()Returns a string identifying the format of this certificate.
|
public java.security.Principal | getGuarantor()Returns the guarantor of this certificate. That guarantor guarantees,
that the public key of this certificate is from the principal returned by
{@link #getPrincipal()}.
|
public java.security.Principal | getPrincipal()Returns the principal of this certificate. The principal is guaranteed by
the guarantor returned by {@link #getGuarantor()}.
|
public java.security.PublicKey | getPublicKey()Returns the public key of this certificate. The public key is guaranteed
by the guarantor to belong to the principal.
|
public java.lang.String | toString(boolean detailed)Returns a string containing a concise, human-readable description of the
this {@code Certificate}.
|