com.github.virtuald
diff --git a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
index 9526c968b8..49c6828e93 100644
--- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
+++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
@@ -162,9 +162,9 @@ import org.w3c.dom.events.EventTarget;
* To use SignatureInfo and its sibling classes, you'll need to have the following libs
* in the classpath:
*
- * - BouncyCastle bcpkix and bcprov (tested against 1.51)
- * - Apache Santuario "xmlsec" (tested against 2.0.1)
- * - and slf4j-api (tested against 1.7.7)
+ * - BouncyCastle bcpkix and bcprov (tested against 1.53)
+ * - Apache Santuario "xmlsec" (tested against 2.0.5)
+ * - and slf4j-api (tested against 1.7.12)
*
*/
public class SignatureInfo implements SignatureConfigurable {
diff --git a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java
index 2427f09fd1..61d61cf810 100644
--- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java
+++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java
@@ -249,7 +249,7 @@ public class XAdESXLSignatureFacet extends SignatureFacet {
ResponderIDType responderId = ocspIdentifier.addNewResponderID();
RespID respId = basicOcspResp.getResponderId();
- ResponderID ocspResponderId = respId.toASN1Object();
+ ResponderID ocspResponderId = respId.toASN1Primitive();
DERTaggedObject derTaggedObject = (DERTaggedObject)ocspResponderId.toASN1Primitive();
if (2 == derTaggedObject.getTagNo()) {
ASN1OctetString keyHashOctetString = (ASN1OctetString)derTaggedObject.getObject();