SecureBlackbox 2020 .NET Edition

Questions / Feedback?

PasswordNeeded Event

This event is fired when a decryption password is needed.

Syntax

public event OnPasswordNeededHandler OnPasswordNeeded;

public delegate void OnPasswordNeededHandler(object sender, CertificatemanagerPasswordNeededEventArgs e);

public class CertificatemanagerPasswordNeededEventArgs : EventArgs {
  public string Password { get; set; }
  public bool Cancel { get; set; }
}
Public Event OnPasswordNeeded As OnPasswordNeededHandler

Public Delegate Sub OnPasswordNeededHandler(sender As Object, e As CertificatemanagerPasswordNeededEventArgs)

Public Class CertificatemanagerPasswordNeededEventArgs Inherits EventArgs
  Public Property Password As String
  Public Property Cancel As Boolean
End Class

Remarks

The component fires this event when a password is needed to decrypt a certificate or a private key.

In the handler of this event, assign the password to the Password parameter, or set Cancel to true to abort the operation.

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