public class DataObjectFormatValidator extends java.lang.Object implements Validator
The verifier should check that the ObjectReference element
actually references one ds:Reference element from the signature.
In addition, should this property refer to a ds:Reference
that in turn refers to a ds:Object, the verifier should
check the values of attributes MimeType and
Encoding as indicated below:
xades:DataObjectFormat and in ds:Object elements,
the verifier should check that their values are equal.
xades:DataObjectFormat but NOT in ds:Object,
the verifier should act as if this attribute was present within the
ds:Object with the same value.
Additional rules governing the acceptance of the XAdES signature as valid or not in the view of the contents of this property are out of the scope of the present document.
| Constructor and Description |
|---|
DataObjectFormatValidator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
ValidationResult |
validate(XMLSignature aSignature,
tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate certificate) |
public ValidationResult validate(XMLSignature aSignature, tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate certificate) throws XMLSignatureException
validate in interface ValidatoraSignature - to be validatedcertificate - used for signatureXMLSignatureException - if unexpected errors occur on IO, or
crypto operations etc.Copyright © 2025. All rights reserved.