|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjsdsi.Prover
jsdsi.FProver
A prover that searches issuer-to-subject. Will only access the
CertStore using AuthCertSelectors and
NameCertSelectors.
CertStore,
AuthCertSelector,
NameCertSelector| Nested Class Summary | |
(package private) static class |
Prover.ProofFoundException
Thrown when the Prover finds a proof. |
| Field Summary | |
(package private) MultiMap |
check
cert -> set of proof(cert) |
(package private) MultiMap |
compatible
name -> set of proof(LHS -> name+X) |
(package private) MultiMap |
issuer
issuer -> set of proof(issuer -> RHS) |
(package private) java.util.Set |
loadedIssuer
Certificates for all issuers. |
(package private) java.util.Set |
loadedValue
Certificates for issuers->name-string. |
(package private) Cert |
provee
Statement to prove. |
(package private) MultiMap |
reverse
subject -> set of proof(LHS -> subject) |
(package private) java.security.cert.CertStore |
store
The CertStore used by this Proof. |
(package private) MultiMap |
value
name -> set of proof(name -> principal) |
| Constructor Summary | |
(package private) |
FProver(Cert c,
java.security.cert.CertStore s)
|
| Method Summary | |
(package private) int |
getNumFetched()
Returns the number of certificates fetched from the cert-store. |
Proof |
getProof()
Returns the proof found by this prover. |
(package private) void |
insert(Proof p)
Inserts the certificates of a given Proof to this
Proof. |
(package private) void |
insertCertificates(java.util.Collection certs)
Provides new certificates for this prover. |
(package private) java.util.Set |
load(java.util.Set cache,
java.lang.Object key,
CertSelector sel,
MultiMap map)
If a given set does not contain a given object, all certficates from the cert-store for a given CertSelector will
be added to this proof's certificates. |
(package private) java.util.Set |
loadIssuer(Principal i)
Loads all certificates for a given issuer from the cert store to this FProver's stored certificates. |
(package private) java.util.Set |
loadValue(Name n)
Loads all certificates for the issuer of a given name and a name-string from the cert store to this FProver's stored certificates. |
(package private) Proof |
makeProof()
Creates a new Proof. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.util.Set loadedIssuer
java.util.Set loadedValue
Cert provee
java.security.cert.CertStore store
CertStore used by this Proof.
MultiMap check
MultiMap value
MultiMap compatible
MultiMap issuer
MultiMap reverse
| Constructor Detail |
FProver(Cert c,
java.security.cert.CertStore s)
Prover.Prover(Cert, java.security.cert.CertStore)| Method Detail |
Proof makeProof()
ProverProof.
makeProof in class ProverProof.Prover.makeProof()
java.util.Set loadIssuer(Principal i)
throws Prover.ProofFoundException
FProver's stored certificates.
i - issuer to add the certificates from.
FProver's certificates plus the
certificates added.
ProofFoundException - if a proof is found.
Prover.ProofFoundException
java.util.Set loadValue(Name n)
throws Prover.ProofFoundException
FProver's stored certificates.
n - name to add the certificates for n's issuer and
name-string bindings.
ProofFoundException - if a proof is found.
Prover.ProofFoundException
void insert(Proof p)
throws Prover.ProofFoundException
ProverProof to this
Proof.
insert in class Proverp - Proof containing certificates to add to
this Proof.
Prover.ProofFoundException - if a proof is found.Prover.insert(Proof)int getNumFetched()
public final Proof getProof()
void insertCertificates(java.util.Collection certs)
throws Prover.ProofFoundException
certs - certificates to add to the prover.
Prover.ProofFoundException - if a proof is found while
adding the certificates.
java.util.Set load(java.util.Set cache,
java.lang.Object key,
CertSelector sel,
MultiMap map)
throws Prover.ProofFoundException
CertSelector will
be added to this proof's certificates.
cache - set with objects.key - key to search in cache.sel - cert selector to add certificates from to this proof's
certificates.map - multi-map with sets stored for keys.
map for key if
no error occures.
Prover.ProofFoundException - if a proof is found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||