Package com.bfo.box
Class CborContainerBox
java.lang.Object
com.bfo.box.Box
com.bfo.box.JUMBox
com.bfo.box.CborContainerBox
- Direct Known Subclasses:
C2PA_AssertionActions
,C2PA_AssertionCloudData
,C2PA_AssertionEndorsement
,C2PA_AssertionGDepth
,C2PA_AssertionHashBMFF
,C2PA_AssertionHashData
,C2PA_AssertionIngredient
,C2PA_AssertionSoftBinding
,C2PAClaim
,C2PASignature
A CborContainerBox is a JUMBF wrapper around a single
CborBox
. It is defined in
ISO19566-5 Appendix B.5- Since:
- 5
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new uninitialized box, for loading.CborContainerBox
(String label, Json json) Create a new CBOR container box -
Method Summary
-
Constructor Details
-
CborContainerBox
public CborContainerBox()Create a new uninitialized box, for loading. Don't call this constructor -
CborContainerBox
Create a new CBOR container box- Parameters:
label
- the label, which must not be nulljson
- the cbor object, which will be intialized to an empty map if it's null
-
-
Method Details
-
getBox
Return theCborBox
child- Returns:
- the CborBox
-
cbor
Return the CBOR object stored within this container- Returns:
- the cbor
-