Class LeafACLookupStrategy

  • All Implemented Interfaces:
    VOMSACLookupStrategy, VOMSConstants

    public class LeafACLookupStrategy
    extends java.lang.Object
    implements 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
    • Constructor Detail

      • LeafACLookupStrategy

        public LeafACLookupStrategy()
    • Method Detail

      • lookupVOMSAttributeCertificates

        public java.util.List<ACParsingContext> lookupVOMSAttributeCertificates​(java.security.cert.X509Certificate[] certChain)
        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 interface VOMSACLookupStrategy
        Parameters:
        certChain - the certificate chain that will be searched for VOMS attribute certificates
        Returns:
        a List of ACParsingContext that describes the lookup outcome