@ThreadSafe public class X509RSAExponentValidator extends AbstractX509Validator
Validator.Action| Modifier and Type | Field and Description |
|---|---|
private BigInteger |
errorBoundary
The RSA public exponent value below which an error should result.
|
private BigInteger |
warningBoundary
The RSA public exponent value below which a warning should result.
|
| Constructor and Description |
|---|
X509RSAExponentValidator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doValidate(X509Certificate cert,
Item<?> item,
String stageId)
Apply the validator to the object in the given
Item context. |
long |
getErrorBoundary()
Get the RSA public exponent below which an error will result.
|
long |
getWarningBoundary()
Get the RSA public exponent below which a warning will result.
|
void |
setErrorBoundary(long length)
Set the RSA public exponent below which an error should result.
|
void |
setWarningBoundary(long length)
Set the RSA public exponent below which a warning should result.
|
validateaddError, addStatus, addWarningsetIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedsetIdprivate BigInteger errorBoundary
private BigInteger warningBoundary
public long getErrorBoundary()
public void setErrorBoundary(long length)
length - the RSA public exponent below which an error should resultpublic long getWarningBoundary()
public void setWarningBoundary(long length)
length - the RSA public exponent below which a warning should resultpublic void doValidate(@Nonnull X509Certificate cert, @Nonnull Item<?> item, @Nonnull String stageId)
AbstractX509ValidatorItem context.
The validator influences future processing by adding item metadata to the Item.doValidate in class AbstractX509Validatorcert - the certificate to be validateditem - the Item context for the validationstageId - the identifier for the stage that is requesting the validation, for
inclusion in status metadataCopyright © 1999–2016. All rights reserved.