com.baidubce.services.iothisk.device.seplatform
Class SecureElementFactory

java.lang.Object
  extended by com.baidubce.services.iothisk.device.seplatform.SecureElementFactory

public class SecureElementFactory
extends Object

Provides secure element factory according to device se type. Currently, only MBED_AKEY is supported.


Constructor Summary
SecureElementFactory()
           
 
Method Summary
static SecureElement createSe(Device contract, DeviceKey deviceKey)
          Provides secure element by device contract and device key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureElementFactory

public SecureElementFactory()
Method Detail

createSe

public static SecureElement createSe(Device contract,
                                     DeviceKey deviceKey)
Provides secure element by device contract and device key.

Parameters:
contract - specified device contract
deviceKey - specified device key
Returns:
successful secure element, otherwise an exception will be thrown


Copyright © 2020. All rights reserved.