public interface LSCInfo
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCertificateChainDescription()
Returns the certificate chain description of the VOMS AA for the given VO
and hostname.
|
java.lang.String |
getFilename()
Returns the name of file from where this LSC info was parsed from.
|
java.lang.String |
getHostname()
Returns the host name of the VOMS AA this LSC info applies to.
|
java.lang.String |
getVOName()
Returns the VO name this LSC info applies to.
|
boolean |
matches(java.security.cert.X509Certificate[] certChain)
Checks if the certificate chain description maintained in the LSC
information matches the certificate chain passed as argument.
|
void |
setFilename(java.lang.String filename)
Sets the name of the file from where this LSC info was parsed from.
|
void setFilename(java.lang.String filename)
filename
- the name of the file from where this LSC info was parsed from.java.lang.String getFilename()
java.lang.String getVOName()
java.lang.String getHostname()
java.util.List<java.lang.String> getCertificateChainDescription()
/C=IT/O=INFN/CN=INFN CA
The first element in the description is the leaf certificate, while the
last is the CA certificate.boolean matches(java.security.cert.X509Certificate[] certChain)
certChain
- the certificate chain to be checkedtrue
if the description matches, false
otherwise