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.
  • 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.