public abstract class AbstractX509Validator extends BaseValidator implements Validator<X509Certificate>
X509Certificate objects.
X.509 certificate issues are almost always independent, so simplify the validator interface
by delegation.Validator.Action| Constructor and Description |
|---|
AbstractX509Validator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doValidate(X509Certificate cert,
Item<?> item,
String stageId)
Apply the validator to the object in the given
Item context. |
Validator.Action |
validate(X509Certificate cert,
Item<?> item,
String stageId)
Apply the validator to the object in the given
Item context. |
addError, addStatus, addWarningsetIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedsetIdprotected abstract void doValidate(@Nonnull X509Certificate cert, @Nonnull Item<?> item, @Nonnull String stageId) throws StageProcessingException
Item context.
The validator influences future processing by adding item metadata to the Item.cert - 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 metadataStageProcessingException - if an error occurs during validationpublic Validator.Action validate(@Nonnull X509Certificate cert, @Nonnull Item<?> item, @Nonnull String stageId) throws StageProcessingException
ValidatorItem context.
The validator influences future processing by adding item metadata to the Item.validate in interface Validator<X509Certificate>cert - the object to be validateditem - the Item context for the validationstageId - the identifier for the stage that is requesting the validation, for
inclusion in status metadataStageProcessingException - if an error occurs during validationCopyright © 1999–2016. All rights reserved.