ATECC508A.Certificate.new_device
You're seeing just the function
new_device
, go back to ATECC508A.Certificate module for more information.
Link to this function
new_device(atecc508a_public_key, atecc508a_sn, manufacturer_sn, signer, signer_key)
View SourceSpecs
new_device( :public_key.ec_public_key(), ATECC508A.serial_number(), String.t(), X509.Certificate.t(), :public_key.ec_private_key() ) :: X509.Certificate.t()
Create a new device certificate.
The created certificate is compatible with ATECC508A certificate compression.
Parameters:
atecc508a_public_key
- the public key to be signed (from ATECC508A)atecc508a_sn
- the ATECC508a's serial number - used to compute the certificate's serial numbermanufacturer_sn
- the manufacturer's desired serial number - used as the common namesigner
- the signer's certificatesigner_key
- the signer's private key