SecureBlackbox 2020 .NET Edition

Questions / Feedback?

StatusRequest Event

Requests a certificate status from the application.

Syntax

public event OnStatusRequestHandler OnStatusRequest;

public delegate void OnStatusRequestHandler(object sender, OcspserverStatusRequestEventArgs e);

public class OcspserverStatusRequestEventArgs : EventArgs {
  public long ConnectionId { get; }
  public string HashAlgorithm { get; }
  public byte[] IssuerNameHash { get; }
  public byte[] IssuerKeyHash { get; }
  public byte[] CertificateSerial { get; }
  public int CertStatus { get; set; }
  public int Reason { get; set; }
  public string RevocationTime { get; set; }
  public string ThisUpdate { get; set; }
  public string NextUpdate { get; set; }
}
Public Event OnStatusRequest As OnStatusRequestHandler

Public Delegate Sub OnStatusRequestHandler(sender As Object, e As OcspserverStatusRequestEventArgs)

Public Class OcspserverStatusRequestEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionId As Long
  Public ReadOnly Property HashAlgorithm As String
  Public ReadOnly Property IssuerNameHash As Byte()
  Public ReadOnly Property IssuerKeyHash As Byte()
  Public ReadOnly Property CertificateSerial As Byte()
  Public Property CertStatus As Integer
  Public Property Reason As Integer
  Public Property RevocationTime As String
  Public Property ThisUpdate As String
  Public Property NextUpdate As String
End Class

Remarks

Subscribe to this event to provide, alter, or inspect certificate statuses produced by the OCSP server.

ConnectionId returns the unique identifier of the client making the request. IssuerNameHash and IssuerKeyHash specify the message digests of the certificate issuer's name and public key obtained with the use of HashAlgorithm. CertificateSerial specifies the serial number of the checked certificate.

Use the by-ref parameters CertStatus, Reason, RevocationTime, ThisUpdate, and NextUpdate to check or alter the status details of the requested certificate.

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