You can created encrypted Steam application tickets with optional data by calling the RequestEncryptedAppTicket() function, which after the result delegate firing must be waited before the encrypted application ticket is available for use.