IPWorks Encrypt 2020 Kotlin Edition

Questions / Feedback?

HeaderParam Event

Fires once for each JOSE header parameter.

Syntax

public open class DefaultJwsEventListener : JwsEventListener {
  ...
  public override fun headerParam(e: JwsHeaderParamEvent) {}
  ...
}

public class JwsHeaderParamEvent {
  val name: String?
  val value: String?
  val dataType: Int
}

Remarks

When Verify or Parse is called this event will fire once for each JOSE header parameter.

Name is the name of the parameter.

Value is the value of the parameter.

DataType specifies the JSON data type of the value. Possible values are:

  • 0 (Object)
  • 1 (Array)
  • 2 (String)
  • 3 (Number)
  • 4 (Bool)
  • 5 (Null)

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 Kotlin Edition - Version 20.0 [Build 7941]