xades4j.verification
Interface QualifyingPropertyVerifier<TData extends PropertyDataObject>
public interface QualifyingPropertyVerifier<TData extends PropertyDataObject>
Verifies a property accordingly to the XAdES verification rules. The verifier
is passed the unmarshalled property data object (structure already verified)
and should verify the XAdES rules and create the high-level QualifyingProperty.
- Author:
- Luís
verify
QualifyingProperty verify(TData propData,
QualifyingPropertyVerificationContext ctx)
throws InvalidPropertyException
- Verifies the property data and return the corresponding 'high-level'
property instance. In case of failure, an exception should be thrown. This
is done in order to prevent a failure to be undetected by erroneous code.
Furthermore, the data structures resulting for the verification process
become simpler.
- Parameters:
propData - the property datactx - the context with data for validation
- Returns:
- the verified QualifyingProperty (never
null)
- Throws:
InvalidPropertyException - (or subclasses) if the property validation fails
Copyright © 2012. All Rights Reserved.