Package org.webpki.cbor
Interface CBORCryptoUtils.Collector
- Enclosing class:
CBORCryptoUtils
public static interface CBORCryptoUtils.Collector
Interface for collecting tagged or custom data.
Implementations of this interface must be set by calling the
CBORValidator.setCustomDataPolicy(POLICY,Collector)
and
CBORDecrypter.setCustomDataPolicy(POLICY,Collector)
for
signatures and encryption respectively.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
foundData
(CBORObject objectOrNull) Get tag or custom data.
-
Method Details
-
foundData
Get tag or custom data.- Parameters:
objectOrNull
- If there is no tag or custom data this argument isnull
-