Interface OcspLicense


  • public interface OcspLicense
    OCSP 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 BCStyle 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.