SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

BeforeGenerateKey Event

Fires when a key generation request is received.

Syntax

public open class DefaultKmipserverEventListener : KmipserverEventListener {
  ...
  public override fun beforeGenerateKey(e: KmipserverBeforeGenerateKeyEvent) {}
  ...
}

public class KmipserverBeforeGenerateKeyEvent {
  val connectionId: Long
  var keyAlgorithm: String?
  var keyLength: Int
  var defaultECCurve: String?
}

Remarks

The component fires this event when it receives a request from the client to generate a key or keypair. KeyAlgorithm, KeyLength, and DefaultECCurve parameters specify the requested key properties.

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