You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/09/01 10:48:00 UTC
svn commit: r1866235 -
/pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java
Author: tilman
Date: Sun Sep 1 10:48:00 2019
New Revision: 1866235
URL: http://svn.apache.org/viewvc?rev=1866235&view=rev
Log:
PDFBOX-4071: improve javadoc
Modified:
pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java
Modified: pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java?rev=1866235&r1=1866234&r2=1866235&view=diff
==============================================================================
--- pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java (original)
+++ pdfbox/branches/issue45/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java Sun Sep 1 10:48:00 2019
@@ -116,14 +116,17 @@ public abstract class CreateSignatureBas
}
/**
- * SignatureInterface implementation.
- *
+ * SignatureInterface sample implementation.
+ *<p>
* This method will be called from inside of the pdfbox and create the PKCS #7 signature.
* The given InputStream contains the bytes that are given by the byte range.
- *
+ *<p>
* This method is for internal use only.
- *
+ *<p>
* Use your favorite cryptographic library to implement PKCS #7 signature creation.
+ * If you want to create the hash and the signature separately (e.g. to transfer only the hash
+ * to an external application), read <a href="https://stackoverflow.com/questions/41767351">this
+ * answer</a> or <a href="https://stackoverflow.com/questions/56867465">this answer</a>.
*
* @throws IOException
*/