sign Data
Generates a digital signature, for the specified data, using the Poly manufacturer installed device private key, on the com.poly.polyos.room.DeviceTypePRIMARY.
The digital signature is generated using the "SHA256withRSA" algorithm.
This can be targeted to CONTROLLER, if called on an instance returned by targetLocal.
Return
The digital signature; null if the digital signature could not be created i.e. data size was beyond permitted maximum.
Parameters
data
The data to sign; must be less than 1,000,000 bytes in size.