public class LSCFile extends Object implements LSCInfo
LSCFile object are considered to be equal if their vo and
hostname fields match.| Constructor and Description |
|---|
LSCFile() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getCertificateChainDescription()
Returns the certificate chain description of the VOMS AA for the given VO
and hostname.
|
String |
getFilename()
Returns the name of file from where this LSC info was parsed from.
|
String |
getHostname()
Returns the host name of the VOMS AA this LSC info applies to.
|
String |
getVo() |
String |
getVOName()
Returns the VO name this LSC info applies to.
|
int |
hashCode() |
boolean |
matches(X509Certificate[] certChain)
Checks if the certificate chain description maintained in the LSC
information matches the certificate chain passed as argument.
|
void |
setCertificateChainDescription(List<String> certChainDesc) |
void |
setFilename(String filename)
Sets the name of the file from where this LSC info was parsed from.
|
void |
setHostname(String hostname) |
void |
setVo(String vo) |
String |
toString() |
public String getVOName()
LSCInfopublic String getHostname()
LSCInfogetHostname in interface LSCInfopublic List<String> getCertificateChainDescription()
LSCInfo/C=IT/O=INFN/CN=INFN CA
The first element in the description is the leaf certificate, while the
last is the CA certificate.getCertificateChainDescription in interface LSCInfopublic String getFilename()
LSCInfogetFilename in interface LSCInfopublic String getVo()
public void setFilename(String filename)
LSCInfosetFilename in interface LSCInfofilename - the name of the file from where this LSC info was parsed from.public void setVo(String vo)
public void setHostname(String hostname)
public void setCertificateChainDescription(List<String> certChainDesc)
public boolean matches(X509Certificate[] certChain)
LSCInfoCopyright © 2018. All rights reserved.