Frage

On verifying a signature containing UnsignedProperties, I got he following exception:

Caused by: xades4j.xml.unmarshalling.PropertyUnmarshalException: Unsupported properties were found
    at xades4j.xml.unmarshalling.FromXmlUnsupportedUSPLimiter.convertFromObjectTree(FromXmlUnsupportedUSPLimiter.java:44)
    at xades4j.xml.unmarshalling.FromXmlUnsupportedUSPLimiter.convertFromObjectTree(FromXmlUnsupportedUSPLimiter.java:26)
    at xades4j.xml.unmarshalling.UnmarshallerModule.convertProperties(UnmarshallerModule.java:64)
    at xades4j.xml.unmarshalling.DefaultQualifyingPropertiesUnmarshaller.unmarshalProperties(DefaultQualifyingPropertiesUnmarshaller.java:72)
    at xades4j.verification.XadesVerifierImpl.verify(XadesVerifierImpl.java:168)

Is there an option to just ignore those on verification, instead of throwing the exception?

War es hilfreich?

Lösung

The exception is thrown because some of the unsigned properties in your signature are not supported. Currently there's no option to turn that check off, because the signature verification would be incomplete...

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top