문제

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?

도움이 되었습니까?

해결책

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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top