Skip to content

Commit 6137d49

Browse files
author
glenn.volckaert
committed
Adds javadoc to warn possible use of basic authentication.
DEVSIX-6875
1 parent cbfc6fe commit 6137d49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sign/src/main/java/com/itextpdf/signatures/TSAClientBouncyCastle.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ public TSAClientBouncyCastle(String url, String username, String password) {
143143
* the same imprint length).
144144
*
145145
* @param url Time Stamp Authority URL (i.e. "http://tsatest1.digistamp.com/TSA")
146-
* @param username user(account) name
147-
* @param password password
146+
* @param username user(account) name, optional
147+
* @param password password, optional if used in combination with username, the credentials will be used in
148+
* basic authentication. Use only in combination with a https url to ensure encryption
148149
* @param tokSzEstimate estimated size of received time stamp token (DER encoded)
149150
* @param digestAlgorithm is a hash algorithm
150151
*/

0 commit comments

Comments
 (0)