org.glite.security.util
Class FullTrustAnchor

java.lang.Object
  extended by org.glite.security.util.FullTrustAnchor

public class FullTrustAnchor
extends java.lang.Object

A class for representing and handling a trust anchor. This class will maintain the trust anchor data and can be used to poll for updates of the information. I handles the CRL and namespace data in addition to the CA certificate.

Author:
joni.hahkala@cern.ch

Field Summary
static java.lang.String CRL_FILE_ENDING_PREFIX
          The start of the ending of the CRL files.
static java.lang.String GLOBUS_NAMESPACE_ENDING
          The suffix of the old format namespace files.
static java.lang.String IGTF_NAMESPACE_ENDING
          The suffix of the new format namespace files.
 java.lang.String m_baseFilename
          The filename of the CA files without the '.' and ending.
 java.security.cert.X509Certificate m_caCert
          The CA certificate.
 java.lang.String m_caHash
          The 8 byte hash of the DN of this CA.
 long m_caModified
          The time the CA file was last modified.
 int m_caNumber
          The running number of the CA, used for the ending.
 java.security.cert.X509CRL m_crl
          The CRL of the CA.
 long m_crlModified
          The time the CRL file was last modified.
 long m_lastUpdateCheck
          The time the CA dir was last polled for changes.
 NamespaceFormat m_namespace
          The namespace object of this CA.
 java.lang.String m_namespaceFilename
          The filename of the namespace in use.
 long m_namespaceModified
          The time the namespace file was last modified.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IGTF_NAMESPACE_ENDING

public static final java.lang.String IGTF_NAMESPACE_ENDING
The suffix of the new format namespace files.

See Also:
Constant Field Values

GLOBUS_NAMESPACE_ENDING

public static final java.lang.String GLOBUS_NAMESPACE_ENDING
The suffix of the old format namespace files.

See Also:
Constant Field Values

CRL_FILE_ENDING_PREFIX

public static final java.lang.String CRL_FILE_ENDING_PREFIX
The start of the ending of the CRL files.

See Also:
Constant Field Values

m_caHash

public java.lang.String m_caHash
The 8 byte hash of the DN of this CA.


m_baseFilename

public java.lang.String m_baseFilename
The filename of the CA files without the '.' and ending.


m_caNumber

public int m_caNumber
The running number of the CA, used for the ending.


m_caCert

public java.security.cert.X509Certificate m_caCert
The CA certificate.


m_caModified

public long m_caModified
The time the CA file was last modified.


m_crl

public java.security.cert.X509CRL m_crl
The CRL of the CA.


m_crlModified

public long m_crlModified
The time the CRL file was last modified.


m_namespace

public NamespaceFormat m_namespace
The namespace object of this CA.


m_namespaceFilename

public java.lang.String m_namespaceFilename
The filename of the namespace in use.


m_namespaceModified

public long m_namespaceModified
The time the namespace file was last modified.


m_lastUpdateCheck

public long m_lastUpdateCheck
The time the CA dir was last polled for changes.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object