How to encrypt data and send it to mluvii?

  1. step - I have the required data in the JSON String

  2. step - Convert the JSON String to UTF8 Byte array

  3. step - Encrypt the UTF8 Byte array to the PKCS7 Envelope using the public key (mluvii will deliver certificate)

  4. step - Convert acquired Byte array to Base64

  5. step - I will place the resulting Base64 String widget by using the setProtectedData (Base64String) method

    owidget.setProtectedData(Base64String);
    
  6. step - Use the owidget in the same way as no encrypted content

results matching ""

    No results matching ""