MSR_AUTHENTICATE_DEVICE structure (pointofservicedriverinterface.h)

This structure provides the authentication information used to authenticate a device.

Syntax

typedef struct _MSR_AUTHENTICATE_DEVICE {
  unsigned char Size;
  unsigned char Challenge1[MSR_CHALLENGE_SIZE];
  unsigned char SessionId[MSR_SESSION_ID_SIZE];
} MSR_AUTHENTICATE_DEVICE, *PMSR_AUTHENTICATE_DEVICE;

Members

Size

If the optional SessionId is present, this will include the size of SessionId[MSR_SESSION_ID_SIZE]

Challenge1[MSR_CHALLENGE_SIZE]

The challenge token.

SessionId[MSR_SESSION_ID_SIZE]

The session ID. This is primarily used to identify each transaction so that you can prevent errors such as processing the same transaction twice.

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)

See also

IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE