Class ACGenerationParams

java.lang.Object
org.italiangrid.voms.request.impl.ACGenerationParams

public class ACGenerationParams extends Object
This class represents the parameters required for generating an Attribute Certificate (AC). It encapsulates various attributes such as Virtual Organization (VO), Fully Qualified Attribute Names (FQANs), Generic Attributes (GAs), host details, validity periods, and a serial number.
  • Field Details

    • vo

      final String vo
      The Virtual Organization name.
    • fqans

      final List<String> fqans
      The list of Fully Qualified Attribute Names.
    • gas

      The list of Generic Attributes.
    • host

      final String host
      The host associated with the AC request.
    • port

      final int port
      The port associated with the AC request.
    • notBefore

      final Date notBefore
      The start time of the validity period.
    • notAfter

      final Date notAfter
      The end time of the validity period.
    • serialNo

      final BigInteger serialNo
      The serial number of the attribute certificate.
  • Constructor Details

    • ACGenerationParams

      private ACGenerationParams(ACGenerationParams.Builder builder)
      Private constructor to initialize an instance using the Builder pattern.
      Parameters:
      builder - the builder instance used to construct this object
  • Method Details

    • getVo

      public String getVo()
      Returns:
      the Virtual Organization name
    • getFqans

      public List<String> getFqans()
      Returns:
      the list of Fully Qualified Attribute Names
    • getGas

      public List<VOMSGenericAttribute> getGas()
      Returns:
      the list of Generic Attributes
    • getHost

      public String getHost()
      Returns:
      the host associated with the AC request
    • getPort

      public int getPort()
      Returns:
      the port associated with the AC request
    • getNotBefore

      public Date getNotBefore()
      Returns:
      the start time of the validity period
    • getNotAfter

      public Date getNotAfter()
      Returns:
      the end time of the validity period
    • getSerialNo

      public BigInteger getSerialNo()
      Returns:
      the serial number of the attribute certificate
    • builder

      public static ACGenerationParams.Builder builder()
      Returns:
      a new Builder instance
    • fromSystemProperties

      public static ACGenerationParams fromSystemProperties()
      Constructs an ACGenerationParams instance from system properties.
      Returns:
      a configured ACGenerationParams instance.