org.opensaml.xml.signature.validator
Class X509DigestSchemaValidator
java.lang.Object
org.opensaml.xml.signature.validator.X509DigestSchemaValidator
- All Implemented Interfaces:
- Validator<X509Digest>
public class X509DigestSchemaValidator
- extends Object
- implements Validator<X509Digest>
Checks X509Digest for Schema compliance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509DigestSchemaValidator
public X509DigestSchemaValidator()
validate
public void validate(X509Digest xmlObject)
throws ValidationException
- Checks to see if a XMLObject is valid.
- Specified by:
validate in interface Validator<X509Digest>
- Parameters:
xmlObject - the XMLObject to validate
- Throws:
ValidationException - thrown if the element is not valid
validateContent
protected void validateContent(X509Digest xmlObject)
throws ValidationException
- Validate the digest content.
- Parameters:
xmlObject - the object to validate
- Throws:
ValidationException - thrown if the object is invalid
Copyright © 1999-2013. All Rights Reserved.