Package org.bouncycastle.pkix
Class SubjectPublicKeyInfoChecker
- java.lang.Object
-
- org.bouncycastle.pkix.SubjectPublicKeyInfoChecker
-
public class SubjectPublicKeyInfoChecker extends java.lang.ObjectA checker for vetting subject public keys based on the direct checking of the ASN.1
-
-
Constructor Summary
Constructors Constructor Description SubjectPublicKeyInfoChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckInfo(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo pubInfo)static booleanremoveThreadOverride(java.lang.String propertyName)Remove any value for the specified override property for the current thread only.static booleansetThreadOverride(java.lang.String propertyName, boolean enable)Enable the specified override property for the current thread only.
-
-
-
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.
-
-