|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Untamed:
| Method Summary | |
void |
decode(InputStream stream)
Enabled: Decodes a certificate from an input stream. |
void |
encode(OutputStream stream)
Enabled: Encodes the certificate to an output stream in a format that can be decoded by the decode method. |
String |
getFormat()
Enabled: Returns the name of the coding format. |
Principal |
getGuarantor()
Enabled: 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. |
Principal |
getPrincipal()
Enabled: Returns the principal of the principal-key pair being guaranteed by the guarantor. |
PublicKey |
getPublicKey()
Enabled: Returns the key of the principal-key pair being guaranteed by the guarantor. |
String |
toString(boolean detailed)
Enabled: Returns a string that represents the contents of the certificate. |
| Method Detail |
public Principal getGuarantor()
public Principal getPrincipal()
public PublicKey getPublicKey()
public void encode(OutputStream stream)
throws KeyException,
IOException
decode method.
stream - the output stream to which to encode the
certificate.
KeyException
IOExceptiondecode(java.io.InputStream),
getFormat()
public void decode(InputStream stream)
throws KeyException,
IOException
getFormat and produced by
encode.
stream - the input stream from which to fetch the data
being decoded.
KeyException
IOExceptionencode(java.io.OutputStream),
getFormat()public String getFormat()
encode
and decode methods.
public String toString(boolean detailed)
detailed - whether or not to give detailed information
about the certificate
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||