ATECC508A.Certificate.new_signer

You're seeing just the function new_signer, go back to ATECC508A.Certificate module for more information.
Link to this function

new_signer(validity_years)

View Source

Specs

new_signer(pos_integer()) :: X509.Certificate.t()

Create a new signer certificate.

The signer certificate is a root certificate. I.e. it's not signed by anyone else. Signer certificates and their associated private keys should be stored safely, though. Their overall use is limited to automating the registration of devices to cloud servers like Nerves Hub and Amazon IoT. Once a device has registered, the cloud server will ignore the signer certificate. It is therefore possible to time limit signer certificates, uninstall them from the cloud server, or limit the number of devices they can auto-register.

The created signer certificate is compatible with ATECC508A certificate compression.

Parameters:

  • validity_years - how many years is this signer certificate valid