Class X509CertificateProperties


  • public class X509CertificateProperties
    extends Object
    Properties of the X509 component of a certificate.
    • Constructor Detail

      • X509CertificateProperties

        public X509CertificateProperties()
    • Method Detail

      • subject

        public String subject()
        Get the subject value.
        Returns:
        the subject value
      • withSubject

        public X509CertificateProperties withSubject​(String subject)
        Set the subject value.
        Parameters:
        subject - the subject value to set
        Returns:
        the X509CertificateProperties object itself.
      • ekus

        public List<String> ekus()
        Get the ekus value.
        Returns:
        the ekus value
      • withEkus

        public X509CertificateProperties withEkus​(List<String> ekus)
        Set the ekus value.
        Parameters:
        ekus - the ekus value to set
        Returns:
        the X509CertificateProperties object itself.
      • subjectAlternativeNames

        public SubjectAlternativeNames subjectAlternativeNames()
        Get the subjectAlternativeNames value.
        Returns:
        the subjectAlternativeNames value
      • withSubjectAlternativeNames

        public X509CertificateProperties withSubjectAlternativeNames​(SubjectAlternativeNames subjectAlternativeNames)
        Set the subjectAlternativeNames value.
        Parameters:
        subjectAlternativeNames - the subjectAlternativeNames value to set
        Returns:
        the X509CertificateProperties object itself.
      • keyUsage

        public List<KeyUsageType> keyUsage()
        Get the keyUsage value.
        Returns:
        the keyUsage value
      • withKeyUsage

        public X509CertificateProperties withKeyUsage​(List<KeyUsageType> keyUsage)
        Set the keyUsage value.
        Parameters:
        keyUsage - the keyUsage value to set
        Returns:
        the X509CertificateProperties object itself.
      • validityInMonths

        public Integer validityInMonths()
        Get the validityInMonths value.
        Returns:
        the validityInMonths value
      • withValidityInMonths

        public X509CertificateProperties withValidityInMonths​(Integer validityInMonths)
        Set the validityInMonths value.
        Parameters:
        validityInMonths - the validityInMonths value to set
        Returns:
        the X509CertificateProperties object itself.