Class SubjectPublicKeyInfoChecker

java.lang.Object
org.bouncycastle.pkix.SubjectPublicKeyInfoChecker

public class SubjectPublicKeyInfoChecker extends Object
A checker for vetting subject public keys based on the direct checking of the ASN.1
  • Constructor Details

    • SubjectPublicKeyInfoChecker

      public SubjectPublicKeyInfoChecker()
  • Method Details

    • checkInfo

      public static void checkInfo(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo pubInfo)
    • setThreadOverride

      public static boolean setThreadOverride(String propertyName, boolean enable)
      Enable the specified override property for the current thread only.
      Parameters:
      propertyName - the property name for the override.
      enable - true if the override should be enabled, false if it should be disabled.
      Returns:
      true if the override was already set true, false otherwise.
    • removeThreadOverride

      public static boolean removeThreadOverride(String propertyName)
      Remove any value for the specified override property for the current thread only.
      Parameters:
      propertyName - the property name for the override.
      Returns:
      true if the override was already set true in thread local, false otherwise.