Class CWTTagProcessor
java.lang.Object
com.authlete.cwt.CWTTagProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CWTTagProcessor
public CWTTagProcessor()
-
-
Method Details
-
process
Description copied from interface:CBORTagProcessorProcess a tag.The CBOR data item returned by this method replaces the current tagged item (
CBORTaggedItem).The simplest implementation is to return
tagContentas is. It means that the tag is just removed. (cf.CPUntag)The second simplest implementation is to create a
CBORTaggedIteminstance with the tag number and the tag content passed as arguments and return it. (cf.CPDefault)- Specified by:
processin interfaceCBORTagProcessor- Parameters:
tagNumber- The tag number.tagContent- The tag content.- Returns:
- A CBOR data item which replaces the current tagged item
(
CBORTaggedItem). - Throws:
CBORDecoderException
-