Class SubjectPublicKeyInfoChecker


  • public class SubjectPublicKeyInfoChecker
    extends java.lang.Object
    A checker for vetting subject public keys based on the direct checking of the ASN.1
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkInfo​(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo pubInfo)  
      static boolean removeThreadOverride​(java.lang.String propertyName)
      Remove any value for the specified override property for the current thread only.
      static boolean setThreadOverride​(java.lang.String propertyName, boolean enable)
      Enable the specified override property for the current thread only.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SubjectPublicKeyInfoChecker

        public SubjectPublicKeyInfoChecker()
    • Method Detail

      • checkInfo

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

        public static boolean setThreadOverride​(java.lang.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​(java.lang.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.