Skip to content

Commit 91fe0a6

Browse files
committed
change timestamp server
1 parent 5d86d9e commit 91fe0a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CS/PdfDocumentProcessor/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void ApplySignatures()
2525
signatureFieldInfo.RotationAngle = PdfAcroFormFieldRotation.Rotate90;
2626

2727
//Create a timestamp
28-
ITsaClient tsaClient = new PdfTsaClient(new Uri(@"http://timestamp.apple.com/ts01"), PdfHashAlgorithm.SHA256);
28+
ITsaClient tsaClient = new PdfTsaClient(new Uri(@"https://freetsa.org/tsr"), PdfHashAlgorithm.SHA256);
2929

3030
//Create a PKCS#7 signature
3131
Pkcs7Signer pkcs7Signature = new Pkcs7Signer("Signing Documents//certificate.pfx", "123", PdfHashAlgorithm.SHA256, tsaClient);

VB/PdfDocumentProcessor/Program.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Namespace PdfDocumentProcessor
2020
signatureFieldInfo.RotationAngle = PdfAcroFormFieldRotation.Rotate90
2121

2222
'Create a timestamp
23-
Dim tsaClient As ITsaClient = New PdfTsaClient(New Uri("http://timestamp.apple.com/ts01"), PdfHashAlgorithm.SHA256)
23+
Dim tsaClient As ITsaClient = New PdfTsaClient(New Uri("https://freetsa.org/tsr"), PdfHashAlgorithm.SHA256)
2424

2525
'Create a PKCS#7 signature
2626
Dim pkcs7Signature As New Pkcs7Signer("Signing Documents//certificate.pfx", "123", PdfHashAlgorithm.SHA256, tsaClient)

0 commit comments

Comments
 (0)