Enum VOMSACGenerator.ACGenerationProperties

    • Enum Constant Detail

      • SKIP_AC_CERTS_EXTENSION

        public static final VOMSACGenerator.ACGenerationProperties SKIP_AC_CERTS_EXTENSION
        Skips the inclusion of the AC Certs extension in the generated Attribute Certificate.

        This extension normally contains the issuer's certificate chain, which may be omitted if the relying party already possesses it.

      • FAKE_SIGNATURE_BITS

        public static final VOMSACGenerator.ACGenerationProperties FAKE_SIGNATURE_BITS
        Generates fake signature bits instead of signing the certificate with a real key.

        This is primarily used for testing purposes, as the resulting AC will not be verifiable.

      • INCLUDE_FAKE_CRITICAL_EXTENSION

        public static final VOMSACGenerator.ACGenerationProperties INCLUDE_FAKE_CRITICAL_EXTENSION
        Includes a fake critical extension in the generated Attribute Certificate.

        This extension is added for testing scenarios where certificate parsers need to handle unknown critical extensions.

      • INCLUDE_CRITICAL_NO_REV_AVAIL_EXTENSION

        public static final VOMSACGenerator.ACGenerationProperties INCLUDE_CRITICAL_NO_REV_AVAIL_EXTENSION
        Includes the "No Revocation Available" extension as a critical extension.

        This extension indicates that no revocation information is available for the AC.

      • INCLUDE_CRITICAL_AKID_EXTENSION

        public static final VOMSACGenerator.ACGenerationProperties INCLUDE_CRITICAL_AKID_EXTENSION
        Includes the Authority Key Identifier (AKID) extension as a critical extension.

        The AKID extension helps in linking the AC to its issuer, making it easier for verification systems to locate the issuing certificate.

      • INCLUDE_EMPTY_AC_CERTS_EXTENSION

        public static final VOMSACGenerator.ACGenerationProperties INCLUDE_EMPTY_AC_CERTS_EXTENSION
        Includes an empty AC Certs extension in the generated Attribute Certificate.

        This is useful for testing scenarios where the extension is expected but contains no actual certificate information.

    • Constructor Detail

      • ACGenerationProperties

        private ACGenerationProperties()
    • Method Detail

      • values

        public static VOMSACGenerator.ACGenerationProperties[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VOMSACGenerator.ACGenerationProperties c : VOMSACGenerator.ACGenerationProperties.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VOMSACGenerator.ACGenerationProperties valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null