Class CBORDiagnosticNotation

java.lang.Object
org.webpki.cbor.CBORDiagnosticNotation

public class CBORDiagnosticNotation extends Object
Class for converting diagnostic CBOR to CBOR.
  • Method Details

    • decode

      public static CBORObject decode(String cborText)
      Decodes diagnostic notation CBOR to CBOR.
      Parameters:
      cborText - String holding diagnostic (textual) CBOR
      Returns:
      CBORObject
    • decodeSequence

      public static CBORObject[] decodeSequence(String cborText)
      Decodes diagnostic notation CBOR sequence to CBOR.
      Parameters:
      cborText - String holding diagnostic (textual) CBOR
      Returns:
      CBORObject[] Non-empty array of CBOR objects