public interface VOMSTrustStore
| Modifier and Type | Method and Description |
|---|---|
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 |
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 subjectX509Certificate 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 appliesLSCInfo 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 storestatusListener - the status listener that will be notifiedCopyright © 2014. All rights reserved.