Add Encrypted QR-Code using GroupDocs.Signature for .NET 18.5


We keep looking forward to bringing you more features and therefore, we have released GroupDocs.Signature for .NET v18.5. The main feature introduced in this release is that it allows user to add encrypted QR-Code signatures. Aside this, few bug fixes are also introduced. We therefore, recommend you to download the new version of API and evaluate the exciting features to enhance document e-signing experience.


Sign/Search Encrypted QR-Code Text

Now users of this API can sign and search encrypted QR-Code text in documents using property DataEncryption
Following example demonstrates how to encrypt Text property of QR-Code Signature:

// create data encryption
IDataEncryption encrypter = new SymmetricEncryption(SymmetricAlgorithmType.Rijndael, key, salt);
// setup options with text of signature
PdfQRCodeSignOptions signOptions = new PdfQRCodeSignOptions("This is private text to be secured.");
// QR-code type
signOptions.EncodeType = QRCodeTypes.QR;
// specify text encryption
signOptions.DataEncryption = encrypter;

Custom Encryption for Embedded QR Code Signature

User can sign documents with custom encrypted QR-Code text/data.
Following code sample shows how to sign document with custom encrypted QR-Code data:

// setup options with text of signature
PdfQRCodeSignOptions signOptions = new PdfQRCodeSignOptions();
// QR-code type
signOptions.EncodeType = QRCodeTypes.QR;
signOptions.DataEncryption = new CustomXOREncryption();
// create custom object
DocumentSignature signature = new DocumentSignature()
    ID = Guid.NewGuid().ToString(),
    Author = Environment.UserName,
    Signed = DateTime.Now,
    DataFactor = 11.22M
// specify Data object instance
signOptions.Data = signature;

New Cells File Formats

Following are the new cells file formats introduced in this release of the API:

  • ots
  • xltx
  • xltm


  • Verification for CRT and CER digital certificates files types
  • Bug Fixes

    • Digital PDF signatures doesn’t support ocsp, timestamp settings
    • Add messages for exceptions that were thrown during making certificate objects for digital signatures
    • Exception when accessing PDF document without specified metadata
    • Incorrect number of pages calculation for all Cells Options

    Available Channels and Resources

    Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Signature API for .NET:


    As always, you are welcome to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

    Share on FacebookTweet about this on TwitterShare on LinkedIn