Class CertificateGenerationSpec

    • Method Detail

      • getCertificateSubject

        public X501DistinguishedName getCertificateSubject()
        The subject information for the certificate.
      • getCertificateValidity

        public Duration getCertificateValidity()
        The validity period of the certificate.
      • getKeyPairGenerationSpec

        public IKeyPairGenerationSpec getKeyPairGenerationSpec()
        The specifications for generating the key pair, including the algorithm and algorithm-specific settings.
      • getCertificateUsageSpecifications

        public List<ICertificateUsageSpecification> getCertificateUsageSpecifications()
        The (optional) usage specifications the certificate will be used for (e.g. SMIME certificate with email addresses). May be null or empty.
      • getSigningAuthorityId

        public Long getSigningAuthorityId()
        The ID of the signing authority that will sign the certificate. If null, a self-signed certificate is generated.
      • getKeyStoreSelector

        public KeyStoreSelector getKeyStoreSelector()
        The keystore selector, defining the keystore where the key pair will be stored.
      • isAutoRenew

        public boolean isAutoRenew()
        Whether the certificate should be automatically renewed before it expires.
      • getDescription

        public String getDescription()
        An optional free-text description of the certificate, e.g. a note about the system(s) the certificate is used for. May be null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object