org.italiangrid.voms.ac.impl
Class DefaultVOMSACParser
java.lang.Object
org.italiangrid.voms.ac.impl.DefaultVOMSACParser
- All Implemented Interfaces:
- VOMSACParser
- Direct Known Subclasses:
- DefaultVOMSValidator
public class DefaultVOMSACParser
- extends Object
- implements VOMSACParser
Default implementation of the VOMS attribute certificate parsing logic.
- Author:
- Andrea Ceccanti
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVOMSACParser
public DefaultVOMSACParser()
DefaultVOMSACParser
public DefaultVOMSACParser(VOMSACLookupStrategy strategy)
parse
public List<VOMSAttribute> parse(X509Certificate[] validatedChain)
- Description copied from interface:
VOMSACParser
- Looks for and parses VOMS attributes in the certificate chain passed as argument (which is assumed to be already validated).
- Specified by:
parse
in interface VOMSACParser
- Parameters:
validatedChain
- a validated X.509 certificate chain
- Returns:
- a possibly empty list of
VOMSAttribute
objects providing access to the parsed VOMS attributes
parse
protected List<VOMSAttribute> parse()
getCertChain
protected X509Certificate[] getCertChain()
- Returns:
- the certChain
setCertChain
protected void setCertChain(X509Certificate[] certChain)
- Parameters:
certChain
- the certChain to set
Copyright © 2013. All Rights Reserved.