|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.italiangrid.voms.store.impl.LSCFile
public class LSCFile
A VOMS LSC file.
The LSC file describes the certificate chain that a VOMS attribute authority uses to
sign a VOMS attribute certificate. The LSC mechanism solves the public key distribution
problem for VOMS AA certificates and is used in the VOMS validation process to validate
the signature on the AC by extracting the VOMS AA certificate included in the VOMS extension
and checking that the chain conforms to the description in the LSC file.
Two LSCFile
object are considered to be equal if their vo and hostname fields match.
Constructor Summary | |
---|---|
LSCFile()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LSCFile()
Method Detail |
---|
public String getVOName()
LSCInfo
getVOName
in interface LSCInfo
public String getHostname()
LSCInfo
getHostname
in interface LSCInfo
public List<String> getCertificateChainDescription()
LSCInfo
getCertificateChainDescription
in interface LSCInfo
public String getFilename()
LSCInfo
getFilename
in interface LSCInfo
public String getVo()
public void setFilename(String filename)
LSCInfo
setFilename
in interface LSCInfo
filename
- 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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public boolean matches(X509Certificate[] certChain)
LSCInfo
matches
in interface LSCInfo
true
if the description matches, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |