gnu.crypto.keyring
Class CertificateEntry
public final class CertificateEntry
An immutable class representing a trusted certificate entry.
Version:
TYPE
public static final int TYPE
- 5
CertificateEntry
public CertificateEntry(Certificate certificate,
Date creationDate,
Properties properties)
Creates a new certificate entry.
certificate
- The certificate.creationDate
- The creation date.properties
- The alias.
decode
public static CertificateEntry decode(DataInputStream in)
throws IOException
encodePayload
protected void encodePayload()
throws IOException
This method is called of subclasses when the payload data needs to be
created.
- encodePayload in interface Entry
getCertificate
public Certificate getCertificate()
Returns this entry's certificate.
- The certificate.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.