Class LoggingConstraint

java.lang.Object
org.bouncycastle.crypto.constraints.ServicesConstraint
org.bouncycastle.crypto.constraints.LoggingConstraint
All Implemented Interfaces:
CryptoServicesConstraints

public class LoggingConstraint extends ServicesConstraint
A constraint that refuses nothing and logs every service checked against it, at level INFO, with its name, bits of security and purpose. The log is written through the Logger named for ServicesConstraint.
  • Constructor Details

    • LoggingConstraint

      public LoggingConstraint()
      Log every service.
    • LoggingConstraint

      public LoggingConstraint(Set<String> exceptions)
      Log every service other than those named in the exceptions set.
      Parameters:
      exceptions - set of service names which are not logged.
  • Method Details