Package org.webpki.cbor
Class CBORDiagnosticNotation
java.lang.Object
org.webpki.cbor.CBORDiagnosticNotation
Class for converting diagnostic CBOR to CBOR.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Diagnostic Notation Parser Exception. -
Method Summary
Modifier and TypeMethodDescriptionstatic CBORObject
Decodes diagnostic notation CBOR to CBOR.static CBORObject[]
decodeSequence
(String cborText) Decodes diagnostic notation CBOR sequence to CBOR.
-
Method Details
-
decode
Decodes diagnostic notation CBOR to CBOR.- Parameters:
cborText
- String holding diagnostic (textual) CBOR- Returns:
CBORObject
-
decodeSequence
Decodes diagnostic notation CBOR sequence to CBOR.- Parameters:
cborText
- String holding diagnostic (textual) CBOR- Returns:
CBORObject
[] Non-empty array of CBOR objects
-