persist

open fun persist(certificate: Array<Byte>)

Persist the X509 certificate to the KeyStore, the certificate will be used to generate the Device Key Identifier

Parameters

certificate

the certificate that used to generate the device identifier.

Throws

General Security Exception when access the KeyStore

IOException when access the KeyStore