gnu.crypto.keyring

Class CertificateEntry

public final class CertificateEntry extends PrimitiveEntry

An immutable class representing a trusted certificate entry.

Version: $Revision: 1.7 $

Field Summary
static intTYPE
Constructor Summary
CertificateEntry(Certificate certificate, Date creationDate, Properties properties)
Creates a new certificate entry.
Method Summary
static CertificateEntrydecode(DataInputStream in)
protected voidencodePayload()
CertificategetCertificate()
Returns this entry's certificate.

Field Detail

TYPE

public static final int TYPE

Constructor Detail

CertificateEntry

public CertificateEntry(Certificate certificate, Date creationDate, Properties properties)
Creates a new certificate entry.

Parameters: certificate The certificate. creationDate The creation date. properties The alias.

Throws: IllegalArgumentException If any argument is null, or if the alias is empty.

Method Detail

decode

public static CertificateEntry decode(DataInputStream in)

encodePayload

protected void encodePayload()

getCertificate

public Certificate getCertificate()
Returns this entry's certificate.

Returns: The certificate.

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.