NervesKey.create_signing_key_pair

You're seeing just the function create_signing_key_pair, go back to NervesKey module for more information.
Link to this function

create_signing_key_pair(opts \\ [])

View Source

Specs

create_signing_key_pair(keyword()) ::
  {X509.Certificate.t(), X509.PrivateKey.t()}

Create a signing key pair

This returns a tuple that contains a new signer certificate and private key. It is compatible with the ATECC508A certificate compression.

Options:

  • :years_valid - how many years this key is valid for