SecureBlackbox 2020 .NET Edition

Questions / Feedback?

DecryptionInfoNeeded Event

Requests decryption information during decryption, signing, or validation.

Syntax

public event OnDecryptionInfoNeededHandler OnDecryptionInfoNeeded;

public delegate void OnDecryptionInfoNeededHandler(object sender, PdfsignerDecryptionInfoNeededEventArgs e);

public class PdfsignerDecryptionInfoNeededEventArgs : EventArgs {
  public bool CancelDecryption { get; set; }
}
Public Event OnDecryptionInfoNeeded As OnDecryptionInfoNeededHandler

Public Delegate Sub OnDecryptionInfoNeededHandler(sender As Object, e As PdfsignerDecryptionInfoNeededEventArgs)

Public Class PdfsignerDecryptionInfoNeededEventArgs Inherits EventArgs
  Public Property CancelDecryption As Boolean
End Class

Remarks

This event is fired when the component needs decryption information to be provided by the user.

Use EncryptionType property to identify the document encryption type used, and then set Password or DecryptionCertificate (DecryptionCertificates) properties accordingly.

The component fires this event repeatedly until suitable decryption information is provided. To terminate the operation, set CancelDecryption to true.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]