DataTransportHttp
class DataTransportHttp(context: Context, val role: DataTransport.Role, connectionMethod: MdocConnectionMethodHttp?, options: DataTransportOptions) : DataTransport
HTTP data transport.
TODO: Maybe make it possible for the application to check the TLS root certificate via DataTransportOptions
Constructors
Link copied to clipboard
constructor(context: Context, role: DataTransport.Role, connectionMethod: MdocConnectionMethodHttp?, options: DataTransportOptions)
Properties
Link copied to clipboard
A MdocConnectionMethod instance that can be used to connect to this transport.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns the next message received, if any.
Link copied to clipboard
Link copied to clipboard
Sends data to the remote mdoc or mdoc reader.
Link copied to clipboard
Sends a transport-specific termination message.
Link copied to clipboard
Sets the bytes of EDeviceKeyBytes
.
Link copied to clipboard
Set the listener to be used for notification.
Link copied to clipboard
Link copied to clipboard
Whether the transport supports a transport-specific termination message.