gui
Class MultiCertTrustGraph

java.lang.Object
  extended by gui.MultiCertTrustGraph

public class MultiCertTrustGraph
extends java.lang.Object


Nested Class Summary
 class MultiCertTrustGraph.Node
           
 
Field Summary
(package private)  java.util.Hashtable m_endNodes
           
(package private)  java.util.Hashtable m_opNodes
           
(package private)  java.util.Hashtable m_rootNodes
           
 
Constructor Summary
MultiCertTrustGraph(CertPathInfo[] a_infos)
           
 
Method Summary
 int countTrustedRootNodes()
          Counts how many different root Nodes are in the chain of trust.
private  void createGraph(CertPathInfo[] infos)
           
 java.util.Enumeration getEndNodes()
           
 java.util.Enumeration getOperatorNodes()
           
 java.util.Enumeration getRootNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_rootNodes

java.util.Hashtable m_rootNodes

m_opNodes

java.util.Hashtable m_opNodes

m_endNodes

java.util.Hashtable m_endNodes
Constructor Detail

MultiCertTrustGraph

public MultiCertTrustGraph(CertPathInfo[] a_infos)
Method Detail

createGraph

private void createGraph(CertPathInfo[] infos)

getRootNodes

public java.util.Enumeration getRootNodes()

getOperatorNodes

public java.util.Enumeration getOperatorNodes()

getEndNodes

public java.util.Enumeration getEndNodes()

countTrustedRootNodes

public int countTrustedRootNodes()
Counts how many different root Nodes are in the chain of trust. Root Nodes are only counted if they are trusted and valid and at least one of their children is valid. (The childs are always trusted because if not they would not be children).

Returns:
the number of different trusted root nodes in this TrustGraph