SecureBlackbox 2020 .NET Edition

Questions / Feedback?

BeforeOpenStorage Event

Informs about imminent access to the certificate storage.

Syntax

public event OnBeforeOpenStorageHandler OnBeforeOpenStorage;

public delegate void OnBeforeOpenStorageHandler(object sender, DcauthwebserverBeforeOpenStorageEventArgs e);

public class DcauthwebserverBeforeOpenStorageEventArgs : EventArgs {
  public long ConnectionId { get; }
  public string StorageId { get; set; }
  public string SigningCertificate { get; set; }
  public string CertificatePassword { get; set; }
}
Public Event OnBeforeOpenStorage As OnBeforeOpenStorageHandler

Public Delegate Sub OnBeforeOpenStorageHandler(sender As Object, e As DcauthwebserverBeforeOpenStorageEventArgs)

Public Class DcauthwebserverBeforeOpenStorageEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionId As Long
  Public Property StorageId As String
  Public Property SigningCertificate As String
  Public Property CertificatePassword As String
End Class

Remarks

This event is fired to inform the application that the configured certificate is about to be accessed for the purpose of signing. The location of the certificate is taken from SigningCertificate and StorageId properties. The application may alter these parameters in this event handler to specify a different certificate, if required.

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