For the latest news and information visit
The GNU Crypto project

gnu.crypto.keyring
Class CertPathEntry

java.lang.Object
  extended bygnu.crypto.keyring.Entry
      extended bygnu.crypto.keyring.PrimitiveEntry
          extended bygnu.crypto.keyring.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(java.security.cert.Certificate[] path, java.util.Date creationDate, Properties properties)
           
 
Method Summary
static CertPathEntry decode(java.io.DataInputStream in)
           
protected  void encodePayload()
          This method is called of subclasses when the payload data needs to be created.
 java.security.cert.Certificate[] getCertPath()
           
 
Methods inherited from class gnu.crypto.keyring.PrimitiveEntry
equals, getAlias, getCreationDate, makeCreationDate
 
Methods inherited from class gnu.crypto.keyring.Entry
defaultDecode, encode, getPayload, getProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values
Constructor Detail

CertPathEntry

public CertPathEntry(java.security.cert.Certificate[] path,
                     java.util.Date creationDate,
                     Properties properties)
Method Detail

decode

public static CertPathEntry decode(java.io.DataInputStream in)
                            throws java.io.IOException
Throws:
java.io.IOException

getCertPath

public java.security.cert.Certificate[] getCertPath()

encodePayload

protected void encodePayload()
                      throws java.io.IOException
Description copied from class: Entry
This method is called of subclasses when the payload data needs to be created.

Specified by:
encodePayload in class Entry
Throws:
java.io.IOException - If an encoding error occurs.

For the latest news and information visit
The GNU Crypto project

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