public interface IAnyTypeOtherCriteria
extends java.io.Serializable
Interface that defines the common method for any type other criteria in a Criteria List.
Project:Platform for detection and validation of certificates recognized in European TSL.
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCertificateWithThisCriteria(java.security.cert.X509Certificate x509cert)
Checks if the input certificate verified this criteria.
|
void |
checkOtherCriteriaValue(ITSLObject tsl)
Checks if the Other Criteria has an appropiate value in the TSL.
|
boolean |
isUnknownOtherCriteria()
Checks if this criteria is unknown.
|
void checkOtherCriteriaValue(ITSLObject tsl) throws TSLMalformedException
tsl - TSL Object representation that contains this Other Criteria.TSLMalformedException - In case of the Criteria Value has not a correct value.boolean checkCertificateWithThisCriteria(java.security.cert.X509Certificate x509cert)
throws TSLCertificateValidationException
x509cert - X509v3 certificate to check.true if this criteria is accomplished by the input certificate,
otherwise false.TSLCertificateValidationException - In case of the certificate does not pass
the validation process.boolean isUnknownOtherCriteria()
true if it is unknown, otherwise false.