Package org.webpki.cbor
Interface CBORCryptoUtils.Intercepter
- Enclosing class:
CBORCryptoUtils
public static interface CBORCryptoUtils.Intercepter
Interface for customizing map objects.
Implementations of this interface must be set by calling
CBORSigner.setIntercepter(Intercepter) and
CBOREncrypter.setIntercepter(Intercepter) for
signatures and encryption respectively.
-
Method Summary
-
Method Details
-
getCustomData
Optionally add custom data to the map.Custom data may be any valid CBOR object. This data is assigned to the CSF/CEF specific label
CBORCryptoConstants.CXF_CUSTOM_DATA_LBL.If this method returns
null, the assumption is that there is no custom data.- Returns:
null(default implementation) or custom data object.
-