Package com.oss.asn1
Interface ExternalChecker
public interface ExternalChecker
External checker interface that implements the callback function for
checking user defined constraints.
- Since:
- ASN.1/Java 1.0-beta A
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(AbstractData data) This method is called by the validator to check the data with user- defined constraints imposed.
-
Method Details
-
isValid
This method is called by the validator to check the data with user- defined constraints imposed. Actual implementation ofisValid()
should not assume that any instance variables are preserved between the invocations of this method.- Parameters:
data
- contains definition of value to be checked- Returns:
true
if the data matches the user-defined constraints.- Throws:
UserValidateFailedException
- if the data is invalid
-