CreateKeySettings

constructor(algorithm: Algorithm = Algorithm.ESP256, nonce: ByteString = ByteString(), userAuthenticationRequired: Boolean = false)

Parameters

algorithm

A fully specified Algorithm, e.g. Algorithm.ESP256.

nonce

a nonce, to prove freshness of the KeyAttestation produced by the SecureArea implementation. Note that not all implementations provide key attestations in which case the nonce is ignored.

userAuthenticationRequired

true if user authentication is required, false otherwise. Some SecureArea implementations may take options to control more precisely what kind of user authentication is required, for example timeouts and whether knowledge factors or inherence factors can be used.