org.glite.voms.ac

Interface VOMSTrustStore

public interface VOMSTrustStore

Method Summary

X509Certificate[]
getAACandidate(X500Principal issuer, String voName)
Returns candidates to the role of signer of an AC with he given issuer and of the give VO.
LSCFile
getLSC(String voName, String hostName)
Returns the LSCFile corresponding to the VO and Host specified.
void
stopRefresh()
Stops refreshing the store.

Method Details

getAACandidate

public X509Certificate[] getAACandidate(X500Principal issuer,
                                        String voName)
Returns candidates to the role of signer of an AC with he given issuer and of the give VO.
Parameters:
issuer - the DN of the signer.
voName - the VO to which he signer belongs.
Returns:
an array of issuer candidates, or null if none is found.

getLSC

public LSCFile getLSC(String voName,
                      String hostName)
Returns the LSCFile corresponding to the VO and Host specified.
Parameters:
voName - the name of the VO.
hostName - the name of the issuing host.
Returns:
the LSCfile, or null if none is found.

stopRefresh

public void stopRefresh()
Stops refreshing the store. This method MUST be called prior to disposing of the store.