You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: net/whatsnew/_index.md
+80-1Lines changed: 80 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,88 @@ description: In this page introduces the most popular new features in Aspose.PDF
8
8
sitemap:
9
9
changefreq: "monthly"
10
10
priority: 0.8
11
-
lastmod: "2024-09-06"
11
+
lastmod: "2024-10-18"
12
12
---
13
13
14
+
## What's new in Aspose.PDF 24.10
15
+
16
+
The Elliptic Curve Digital Signature Algorithm (ECDSA) is a modern cryptographic algorithm known for providing strong security with smaller key sizes compared to traditional algorithms. Since version 24.10, it has been possible to sign PDF documents using ECDSA, as well as verify ECDSA signatures. The following elliptic curves are supported for creating and verifying digital signatures:
17
+
* P-256 (secp256r1).
18
+
* P-384 (secp384r1).
19
+
* P-521 (secp521r1).
20
+
* brainpoolP256r1.
21
+
* brainpoolP384r1.
22
+
* brainpoolP512r1.
23
+
24
+
The SHA-256 hash algorithm is used for generating the signature. ECDSA signatures can be verified using the following hash algorithms: SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384, and SHA3-512.
25
+
26
+
You can use your usual code to sign documents with ECDSA and to verify signatures:
Sometimes, it is necessary to crop an image before inserting it into a PDF. We have added an overloaded version of the `AddImage()` method to support adding cropped images:
62
+
63
+
```cs
64
+
65
+
varimagePath="";
66
+
varresultPdfPath="";
67
+
68
+
using (Documentdocument=newDocument())
69
+
{
70
+
using (StreamimgStream=File.OpenRead(imagePath))
71
+
{
72
+
// Define the rectangle where the image will be placed on the PDF page
// Insert the cropped image onto the page, specifying the original position (imageRect)
84
+
// and the cropping area (bbox)
85
+
page.AddImage(imgStream, imageRect, bbox);
86
+
}
87
+
88
+
// Save the document to the specified file path
89
+
document.Save(resultPdfPath);
90
+
}
91
+
```
92
+
14
93
## What's new in Aspose.PDF 24.9
15
94
16
95
Since version 24.9, it has been possible to generate a crash report when the library throws an exception. A crash report includes information about the type of exception, application title, Aspose.Pdf version, OS version, error message, and stack trace.
0 commit comments