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 Type
    Method
    Description
    void
    foundData(CBORObject objectOrNull)
    Get tag or custom data.
  • Method Details

    • foundData

      void foundData(CBORObject objectOrNull)
      Get tag or custom data.
      Parameters:
      objectOrNull - If there is no tag or custom data this argument is null