Package org.webpki.cbor
Class CBORSequenceBuilder
java.lang.Object
org.webpki.cbor.CBORSequenceBuilder
Class for creating CBOR sequences.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(CBORObject object) Add object to CBOR sequence.byte[]
encode()
Get completed CBOR sequence.toString()
Render CBOR sequence in diagnostic notation.
-
Constructor Details
-
CBORSequenceBuilder
public CBORSequenceBuilder()Creates a CBOR sequence builder.See also
CBORDecoder.setSequenceMode(boolean)
.
-
-
Method Details