Class KeyCreationRequestEncoder

java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.keygen2.KeyCreationRequestEncoder

public class KeyCreationRequestEncoder extends JSONEncoder
  • Constructor Details

    • KeyCreationRequestEncoder

      public KeyCreationRequestEncoder(ServerState serverState)
  • Method Details

    • setDeferredIssuance

      public void setDeferredIssuance(boolean flag)
    • setKeyAttestationAlgorithm

      public void setKeyAttestationAlgorithm(String keyAttestationAlgorithmUri)
    • getQualifier

      public String getQualifier()
      Description copied from class: JSONEncoder
      Optional type indicator for JSON objects belonging to the same @context.
      Overrides:
      getQualifier in class JSONEncoder
      Returns:
      The qualifier name
    • getContext

      public final String getContext()
      Description copied from class: JSONEncoder
      Emulation of XML namespace
      Specified by:
      getContext in class JSONEncoder
      Returns:
      The context name
    • writeJSONData

      protected final void writeJSONData(JSONObjectWriter wr)
      Description copied from class: JSONEncoder
      INTERNAL USE ONLY.
      Specified by:
      writeJSONData in class JSONEncoder
      Parameters:
      wr - A JSON writer