Class DefaultVOMSACParser

    • Constructor Detail

      • DefaultVOMSACParser

        public DefaultVOMSACParser()
        Creates a new DefaultVOMSACParser with the default lookup strategy. Uses LeafACLookupStrategy with a NullListener instance.
      • DefaultVOMSACParser

        public DefaultVOMSACParser​(VOMSACLookupStrategy strategy)
        Creates a new DefaultVOMSACParser with a specified lookup strategy. Uses LeafVOMSExtensionNormalizationStrategy for attribute normalization.
        Parameters:
        strategy - the lookup strategy to use for locating attribute certificates
        Throws:
        java.lang.NullPointerException - if the provided strategy is null
    • Method Detail

      • parse

        public java.util.List<VOMSAttribute> parse​(java.security.cert.X509Certificate[] validatedChain)
        Parses and extracts VOMS attributes from a validated X.509 certificate chain.
        Specified by:
        parse in interface VOMSACParser
        Parameters:
        validatedChain - the certificate chain to analyze
        Returns:
        a list of extracted and normalized VOMSAttribute objects
        Throws:
        java.lang.NullPointerException - if the provided certificate chain is null