Package com.android.identity
Class OriginInfo
- java.lang.Object
-
- com.android.identity.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
-
-
-
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
-
-
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
orCAT_RECEIVE
.
-
-