Bouncy Castle Cryptography Library 1.79

org.bouncycastle.pkix
Class SubjectPublicKeyInfoChecker

java.lang.Object
  |
  +--org.bouncycastle.pkix.SubjectPublicKeyInfoChecker

public class SubjectPublicKeyInfoChecker
extends java.lang.Object

A checker for vetting subject public keys based on the direct checking of the ASN.1


Constructor Summary
SubjectPublicKeyInfoChecker()
           
 
Method Summary
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.

Bouncy Castle Cryptography Library 1.79