Package org.italiangrid.voms.ac.impl
Class LeafACLookupStrategy
java.lang.Object
org.italiangrid.voms.ac.impl.LeafACLookupStrategy
- All Implemented Interfaces:
VOMSACLookupStrategy
,VOMSConstants
This strategy returns the leaf VOMS Attribute Certificate in a certificate
chain, i.e. the Attribute Certificate found in the latest delegation in the
chain.
- Author:
- Andrea Ceccanti
-
Field Summary
Fields inherited from interface org.italiangrid.voms.asn1.VOMSConstants
VOMS_CERTS_OID, VOMS_EXTENSION_OID, VOMS_FQANS_OID, VOMS_GENERIC_ATTRS_OID, VOMS_HANDLED_EXTENSIONS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlookupVOMSAttributeCertificates
(X509Certificate[] certChain) This method defines how a set of VOMS Attribute Certificates is looked for in a certificate chain.
-
Constructor Details
-
LeafACLookupStrategy
-
LeafACLookupStrategy
public LeafACLookupStrategy()
-
-
Method Details
-
lookupVOMSAttributeCertificates
Description copied from interface:VOMSACLookupStrategy
This method defines how a set of VOMS Attribute Certificates is looked for in a certificate chain.- Specified by:
lookupVOMSAttributeCertificates
in interfaceVOMSACLookupStrategy
- Parameters:
certChain
- the certificate chain that will be searched for VOMS attribute certificates- Returns:
- a
List
ofACParsingContext
that describes the lookup outcome
-