Interface CmLicense


  • public interface CmLicense
    CM License Feature.
    Author:
    Lijun Liao (xipki)
    • Method Detail

      • isValid

        boolean isValid()
        Whether the license is valid. The criteria may be the validity period, license signature, or any other criteria.
        Returns:
        true if the license is valid, false otherwise.
      • grantAllCAs

        boolean grantAllCAs()
      • grant

        boolean grant​(String caSubject)
        The CA subject in BC style. Output of org.bouncycastle.asn1.x500.style.BCStyle.INSTANCE.toString(X500Name name)
        Parameters:
        caSubject - the CA's subject
        Returns:
        whether OCSP service for the given CA is allowed.
      • regulateSpeed

        void regulateSpeed()
        Regulate the speed.
      • getMaxNumberOfCerts

        long getMaxNumberOfCerts()
        Returns maximal number of certificates.
        Returns:
        maximal number of certificates, negative value if unlimited.