CFXXL v0.1.0 CFXXL.KeyConfig View Source

Module defining a struct to configure the crypto for a new key/CSR pair

Link to this section Summary

Functions

A struct containing an algorithm/size pair to configure key crypto

Link to this section Functions

Link to this function %CFXXL.KeyConfig{} View Source (struct)

A struct containing an algorithm/size pair to configure key crypto.

The fields are:

  • algo
  • size

The CFSSL API accepts the following values for algo:

  • :ecdsa
  • :rsa

When algo is :rsa, size can be any value between 2048 and 8192.

When algo is :ecdsa, size can be one of:

  • 256
  • 384
  • 521