certificate

package
v0.0.0-...-9e0db82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PemToCrt

func PemToCrt(p *paths.Path) ([]byte, error)

PemToCrt ESP32 x509 certificate bundle generation utility

Converts PEM and DER certificates to a custom bundle format which stores just the subject name and public key to reduce space

The bundle will have the format: number of certificates; crt 1 subject name length; crt 1 public key length; crt 1 subject name; crt 1 public key; crt 2...

Originally taken from: https://github.com/espressif/esp-idf/blob/d2471b11e78fb0af612dfa045255ac7fe497bea8/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL