? "application/timestamp-response"\r
: "application/timestamp-reply"\r
)) {\r
- throw new RuntimeException("invalid Content-Type: " + contentType);\r
+ throw new RuntimeException("invalid Content-Type: " + contentType +\r
+ // dump the first few bytes\r
+ ": " + HexDump.dump(bos.toByteArray(), 0, 0, 200));\r
}\r
\r
if (bos.size() == 0) {\r
LOG.log(POILogger.DEBUG, "time-stamp token time: "\r
+ timeStampToken.getTimeStampInfo().getGenTime());\r
\r
- byte[] timestamp = timeStampToken.getEncoded();\r
- return timestamp;\r
+ return timeStampToken.getEncoded();\r
}\r
\r
public void setSignatureConfig(SignatureConfig signatureConfig) {\r