Package org.italiangrid.voms.asn1
Enum Class VOMSACGenerator.ACGenerationProperties
java.lang.Object
java.lang.Enum<VOMSACGenerator.ACGenerationProperties>
org.italiangrid.voms.asn1.VOMSACGenerator.ACGenerationProperties
- All Implemented Interfaces:
Serializable
,Comparable<VOMSACGenerator.ACGenerationProperties>
,Constable
- Enclosing class:
VOMSACGenerator
public static enum VOMSACGenerator.ACGenerationProperties
extends Enum<VOMSACGenerator.ACGenerationProperties>
Enumeration defining various properties that can influence the generation of VOMS Attribute
Certificates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGenerates fake signature bits instead of signing the certificate with a real key.Includes the Authority Key Identifier (AKID) extension as a critical extension.Includes the "No Revocation Available" extension as a critical extension.Includes an empty AC Certs extension in the generated Attribute Certificate.Includes a fake critical extension in the generated Attribute Certificate.Skips the inclusion of the AC Certs extension in the generated Attribute Certificate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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 Details
-
ACGenerationProperties
private ACGenerationProperties()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-