|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VOMSTrustStore
The VOMS trust store takes care of parsing local trusted information (being certificates or LSC files) for known VOMS servers.
Method Summary | |
---|---|
X509Certificate |
getAACertificateBySubject(X500Principal aaCertSubject)
Returns the VOMS Attribute Authority certificate held in this VOMSTrustStore whose subject
matches the subject passed as argument. |
Map<String,Set<LSCInfo>> |
getAllLSCInfo()
Returns all the LSC information held in this VOMSTrustStore . |
List<X509Certificate> |
getLocalAACertificates()
Returns the list of VOMS Attribute Authority certificates held in this VOMSTrustStore . |
List<String> |
getLocalTrustedDirectories()
Returns the locally trusted directories where VOMS trust information (being VOMS server certificates or LSC files) are searched for. |
LSCInfo |
getLSC(String voName,
String hostname)
Returns the LSC information held in this VOMSTrustStore for the vo and hostname passed as arguments. |
void |
loadTrustInformation()
Loads trust information from the sources configured for this trust store. |
void |
setStatusListener(VOMSTrustStoreStatusListener statusListener)
Sets a VOMSTrustStoreStatusListener that is notified of events related
to this VOMS trust store |
Method Detail |
---|
List<String> getLocalTrustedDirectories()
List
of local pathsList<X509Certificate> getLocalAACertificates()
VOMSTrustStore
.
VOMSTrustStore
, an empty list
if no certificate was found.X509Certificate getAACertificateBySubject(X500Principal aaCertSubject)
VOMSTrustStore
whose subject
matches the subject passed as argument.
aaCertSubject
- a certificate subject
X509Certificate
that matches the subject passed as argument or null if no matching
certificate is found in this storeLSCInfo getLSC(String voName, String hostname)
VOMSTrustStore
for the vo and hostname passed as arguments.
voName
- the name of the VO for which the LSC applieshostname
- the name of the host for which the LSC applies
LSCInfo
object, or null if no LSC matching the arguments was foundMap<String,Set<LSCInfo>> getAllLSCInfo()
VOMSTrustStore
.
The returned Map
is keyed by VO name.
LSCInfo
objectsvoid loadTrustInformation()
void setStatusListener(VOMSTrustStoreStatusListener statusListener)
VOMSTrustStoreStatusListener
that is notified of events related
to this VOMS trust store
statusListener
- the status listener that will be notified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |