[][src]Module caramel_client::certs

Certificate handling API for a Caramel Client.

Modules

blobs

This module should only be used in the test configuration.

Constants

MIN_RSA_BITS

Minimum RSA key length accepted.

Functions

create_csr

Create a Certificate Sign Request.

create_private_key

Create a new private key and return it.

verify_cacert

Load and verify that the CA certificate is okay.

verify_cert

Verify that the CA certificate we downloaded matches what we want checks.

verify_csr

Verify that the Certificate Sign Request is valid according to our rules.

verify_private_key

Load and verify that the private key is okay. not too short, can be parsed, etc.