Class OriginInfo

  • Direct Known Subclasses:
    OriginInfoNfc, OriginInfoQr, OriginInfoWebsite

    public abstract class OriginInfo
    extends java.lang.Object
    A class representing the OriginInfo structure exchanged by the mdoc and the mdoc reader.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long CAT_DELIVERY
      The constant used to specify how the current engagement structure is delivered.
      static long CAT_RECEIVE
      The constant used to specify how the other party engagement structure has been received.
    • Constructor Summary

      Constructors 
      Constructor Description
      OriginInfo()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract long getCat()
      Specifies whether the OriginInfoOptions are about this engagement or the one received previously
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CAT_DELIVERY

        public static final long CAT_DELIVERY
        The constant used to specify how the current engagement structure is delivered.
        See Also:
        Constant Field Values
      • CAT_RECEIVE

        public static final long CAT_RECEIVE
        The constant used to specify how the other party engagement structure has been received.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OriginInfo

        public OriginInfo()
    • Method Detail

      • getCat

        public abstract long getCat()
        Specifies whether the OriginInfoOptions are about this engagement or the one received previously
        Returns:
        one of CAT_DELIVERY or CAT_RECEIVE.