0

在验证包含 的签名UnsignedProperties时,我得到了以下异常:

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)

是否有一个选项可以忽略那些验证,而不是抛出异常?

4

1 回答 1

0

抛出异常是因为您的签名中的某些未签名属性不受支持。目前没有关闭该检查的选项,因为签名验证将不完整......

于 2013-01-08T10:19:36.517 回答