gui
Class MultiCertTrustGraph
java.lang.Object
gui.MultiCertTrustGraph
public class MultiCertTrustGraph
- extends java.lang.Object
Field Summary |
(package private) java.util.Hashtable |
m_endNodes
|
(package private) java.util.Hashtable |
m_opNodes
|
(package private) java.util.Hashtable |
m_rootNodes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_rootNodes
java.util.Hashtable m_rootNodes
m_opNodes
java.util.Hashtable m_opNodes
m_endNodes
java.util.Hashtable m_endNodes
MultiCertTrustGraph
public MultiCertTrustGraph(CertPathInfo[] a_infos)
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