register

suspend fun register(passphrase: String, passphraseConstraints: PassphraseConstraints, onAuthorizeRootOfTrust: (cloudSecureAreaRootOfTrust: X509Cert) -> Boolean)

Registers with the cloud secure area.

Parameters

passphrase

the passphrase to use.

passphraseConstraints

the constraints for the passphrase.

onAuthorizeRootOfTrust

called to authorize the Cloud Secure Area's root certificate.

Throws

if an error occurred.