Class ACGenerationParams


  • public class ACGenerationParams
    extends java.lang.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 Detail

      • vo

        final java.lang.String vo
        The Virtual Organization name.
      • fqans

        final java.util.List<java.lang.String> fqans
        The list of Fully Qualified Attribute Names.
      • host

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

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

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

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

        final java.math.BigInteger serialNo
        The serial number of the attribute certificate.
    • Constructor Detail

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

      • getVo

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

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

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

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

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

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

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

        public java.math.BigInteger getSerialNo()
        Returns:
        the serial number of the attribute certificate
      • fromSystemProperties

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