GroupDocs.Signature for .NET 22.12 Release Notes

Major Features

The main features of this release are improvements with logging, fixes the issues under Linux platform and new property DataType of the metadata signatures. The updates with logging are related to extended messages for Trace log level that allow to log information events. Below the list of most notable changes in release of GroupDocs.Signature for .NET 21.12:

  • Fixed the error with previewing Word Processing documents on the Linux platform
  • Fixed unexpected QRCode Signature verification result under Linux OS
  • Detection of PFX Certificate files were recognized properly
  • Log Level enumeration was provided to limit the logging messages events
  • Implement new DataType property of the MetadataSignature class.
  • Implement detailed Trace messages for logging of the most methods.
  • Provide Log Level flags enumeration to specify multiple log levels processing.

Added new enumeration LogLevel to specify the level of logging witing the SignatureSettings new LogLevel propert

The following example demonstrates how to setup standard or custom logging.

public static void Run()
{
    // use standard console logger
    var logger = new ConsoleLogger();
    var settings = new SignatureSettings(logger);
    settings.LogLevel = LogLevel.Error | LogLevel.Warning;
    try
    {
        // create the Signature instance with the Signature settings
        using (Signature signature = new Signature("sample.pdf", loadOptions, settings))
        {
            QrCodeSignOptions options = new QrCodeSignOptions("Sample1");

            // sign document to file
            signature.Sign(outputFilePath, options);
        }
    }
    catch
    {
        // skip the Exception - check the log
    }
    Console.WriteLine("\nSource document signed successfully.\nFile saved at " + outputFilePath);
}

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
SIGNATURENET-4206Error with previewing Word Processing documents on the Linux platformBug
SIGNATURENET-4157QRCode Signature verification result differs from expected (Linux platform)Bug
SIGNATURENET-4147Some PFX Certificate documents are not recognized properlyBug
SIGNATURENET-4155Implement Log Level settings to limit the logging messages eventsFeature
SIGNATURENET-4138Implement DataType property of the MetadataSignature classEnhancement
SIGNATURENET-4115Implement detailed Trace messages for logging of the most methodsEnhancement
SIGNATURENET-4110Provide Log Level flags enumeration to specify multiple log levels processingEnhancement