Package org.webpki.cbor
Class CBORDiagnosticNotation
java.lang.Object
org.webpki.cbor.CBORDiagnosticNotation
Class for converting diagnostic notation CBOR to CBOR.
Note: generated CBOR always conform to Deterministic Encoding.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CBORObject
Convert diagnostic notation CBOR to CBOR.static ArrayList
<CBORObject> convertSequence
(String cborText) Convert diagnostic notation CBOR sequence to CBOR.
-
Method Details
-
convert
Convert diagnostic notation CBOR to CBOR.- Parameters:
cborText
- String holding diagnostic (textual) CBOR- Returns:
- CBOR object
- Throws:
CBORException
-
convertSequence
Convert diagnostic notation CBOR sequence to CBOR.- Parameters:
cborText
- String holding diagnostic (textual) CBOR- Returns:
- Non-empty array of CBOR objects
- Throws:
CBORException
-