Class CBORString

java.lang.Object
org.webpki.cbor.CBORObject
org.webpki.cbor.CBORString
All Implemented Interfaces:
Cloneable, Comparable<CBORObject>

public class CBORString extends CBORObject
Class for holding CBOR text string objects.
  • Constructor Details

    • CBORString

      public CBORString(String textString)
      Creates a CBOR text string.

      Note that textString must be valid UTF-16.

      See also CBORObject.getString().