public interface X509CertChainValidator
ValidationResult
Modifier and Type | Method and Description |
---|---|
void |
addUpdateListener(StoreUpdateListener listener)
Registers a listener which can react to errors found during refreshing
of the trust material: trusted CAs or CRLs.
|
void |
addValidationListener(ValidationErrorListener listener)
Registers a listener which can react to errors found during certificate
validation.
|
X509Certificate[] |
getTrustedIssuers()
Returns a list of trusted issuers of certificates.
|
void |
removeUpdateListener(StoreUpdateListener listener)
Unregisters a previously registered CA or CRL update listener.
|
void |
removeValidationListener(ValidationErrorListener listener)
Unregisters a previously registered validation listener.
|
ValidationResult |
validate(CertPath certPath)
Performs validation of a provided certificate path.
|
ValidationResult |
validate(X509Certificate[] certChain)
Performs validation of a provided certificate chain.
|
ValidationResult validate(CertPath certPath)
certPath
- to be validatedValidationResult validate(X509Certificate[] certChain)
certChain
- to be validatedX509Certificate[] getTrustedIssuers()
void addValidationListener(ValidationErrorListener listener)
ValidationError
, not the exception.listener
- to be registeredvoid removeValidationListener(ValidationErrorListener listener)
listener
- to be unregisteredvoid addUpdateListener(StoreUpdateListener listener)
listener
- to be registeredvoid removeUpdateListener(StoreUpdateListener listener)
listener
- to be unregisteredCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.