gnu.crypto.keyring

Class CertPathEntry


public final class CertPathEntry
extends PrimitiveEntry

A primitive entry that contains a path of X.509 certificates.

Field Summary

static int
TYPE

Fields inherited from class gnu.crypto.keyring.PrimitiveEntry

creationDate

Fields inherited from class gnu.crypto.keyring.Entry

payload, properties, type

Constructor Summary

CertPathEntry(Certificate[] path, Date creationDate, Properties properties)

Method Summary

static CertPathEntry
decode(DataInputStream in)
protected void
encodePayload()
This method is called of subclasses when the payload data needs to be created.
Certificate[]
getCertPath()

Methods inherited from class gnu.crypto.keyring.PrimitiveEntry

equals, getAlias, getCreationDate, makeCreationDate

Methods inherited from class gnu.crypto.keyring.Entry

defaultDecode, encode, encodePayload, getPayload, getProperties

Field Details

TYPE

public static final int TYPE
Field Value:
8

Constructor Details

CertPathEntry

public CertPathEntry(Certificate[] path,
                     Date creationDate,
                     Properties properties)

Method Details

decode

public static CertPathEntry 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.
Overrides:
encodePayload in interface Entry

getCertPath

public Certificate[] getCertPath()

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