decrypt Data
Decrypts the specified data using the Poly manufacturer installed private key on the com.poly.polyos.room.DeviceTypePRIMARY. That is, the specified data must be encrypted with the public key from the Poly manufacturer installed device certificate.
The "RSA/ECB/PKCS1Padding" cipher algorithm is used to decryption.
This can be targeted to CONTROLLER, if called on an instance returned by targetLocal.
Return
The decrypted data; null if decryption was not possible i.e. data size was beyond permitted maximum, or data was not encrypted with the device certificate's public key.
Parameters
data
The encrypted data to decrypt; must be less than 1,000,000 bytes in size.