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