public interface VOMSTrustStore
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate |
getAACertificateBySubject(javax.security.auth.x500.X500Principal aaCertSubject)
Returns the VOMS Attribute Authority certificate held in this
VOMSTrustStore whose subject matches the subject passed as
argument. |
java.util.Map<java.lang.String,java.util.Set<LSCInfo>> |
getAllLSCInfo()
Returns all the LSC information held in this
VOMSTrustStore . |
java.util.List<java.security.cert.X509Certificate> |
getLocalAACertificates()
Returns the list of VOMS Attribute Authority certificates held in this
VOMSTrustStore . |
java.util.List<java.lang.String> |
getLocalTrustedDirectories()
Returns the locally trusted directories where VOMS trust information (being
VOMS server certificates or LSC files) are searched for.
|
LSCInfo |
getLSC(java.lang.String voName,
java.lang.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 |
java.util.List<java.lang.String> getLocalTrustedDirectories()
List
of local pathsjava.util.List<java.security.cert.X509Certificate> getLocalAACertificates()
VOMSTrustStore
.VOMSTrustStore
, an empty list if no certificate was
found.java.security.cert.X509Certificate getAACertificateBySubject(javax.security.auth.x500.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(java.lang.String voName, java.lang.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 foundjava.util.Map<java.lang.String,java.util.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 notified