public class UnknownOtherCriteria extends OtherCriteria
Class that represents a implementation for a specific Other Criteria Any Type: Unknown element.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
UnknownOtherCriteria(java.lang.String elementName)
Constructor method for the class UnknownOtherCriteria.java.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCertificateWithThisCriteria(java.security.cert.X509Certificate x509cert)
Checks if the input certificate verified this criteria.
|
java.lang.String |
getElementLocalName()
Gets the value of the attribute
elementLocalName. |
boolean |
isUnknownOtherCriteria()
Checks if this criteria is unknown.
|
checkOtherCriteriaValuepublic UnknownOtherCriteria(java.lang.String elementName)
elementName - Element local name for the unknown other criteria.public final java.lang.String getElementLocalName()
elementLocalName.elementLocalName.public final boolean isUnknownOtherCriteria()
true if it is unknown, otherwise false.IAnyTypeOtherCriteria.isUnknownOtherCriteria()public final 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.IAnyTypeOtherCriteria.checkCertificateWithThisCriteria(java.security.cert.X509Certificate)