gnu.crypto.keyring
public final class CertificateEntry extends PrimitiveEntry
An immutable class representing a trusted certificate entry.
Version: $Revision: 1.7 $
Field Summary | |
---|---|
static int | TYPE |
Constructor Summary | |
---|---|
CertificateEntry(Certificate certificate, Date creationDate, Properties properties)
Creates a new certificate entry.
|
Method Summary | |
---|---|
static CertificateEntry | decode(DataInputStream in) |
protected void | encodePayload() |
Certificate | getCertificate()
Returns this entry's certificate.
|
Parameters: certificate The certificate. creationDate The creation date. properties The alias.
Throws: IllegalArgumentException If any argument is null, or if the alias is empty.
Returns: The certificate.