sdsi.control
Class CertCache
java.lang.Object
|
+--sdsi.control.CertCache
- All Implemented Interfaces:
- java.io.Serializable
- public class CertCache
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Sameer Ajmani
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CertCache
public CertCache()
CertCache
public CertCache(java.io.InputStream is)
throws java.io.IOException
getObjects
public java.util.Set getObjects()
writeTo
public void writeTo(java.io.OutputStream os)
throws java.io.IOException
java.io.IOException
fullClosure
public void fullClosure()
incrementalClosure
public void incrementalClosure(Cert cert)
getReducingPairs
public java.util.Set getReducingPairs(Cert cert)
getSignatures
public java.util.Set getSignatures(SDSIObject object)
getDefs
public java.util.Set getDefs(SDSIPrincipal issuer,
java.lang.String name)
getAuths
public java.util.Set getAuths(SDSIPrincipal issuer,
Tag tag)
get
public SDSIObject get(Hash hash)
add
public void add(SDSIObject object)
remove
public void remove(SDSIObject object)
getIssuerSig
public SDSISignature getIssuerSig(Cert cert)
getKey
public SDSIPublicKey getKey(Hash hash)
getKey
public SDSIPublicKey getKey(SDSIPrincipal principal)
getDisplayName
public java.lang.String getDisplayName(SDSIPrincipal owner,
SDSIObject o)
getNameFor
public java.lang.String getNameFor(SDSIPrincipal owner,
SDSIPrincipal principal)