package
3.0.0+incompatible
Repository: https://github.com/go-iot-platform/micro-plugins.git
Documentation: pkg.go.dev

# Functions

CA generates a self signed CA and returns cert, key in PEM format.
CSR generates a certificate request in PEM format.
DNSNames is a list of hosts to sign in to the certificate.
GenerateKey returns an ed25519 key.
IPAddresses is a list of IPs to sign in to the certificate.
IsCA states the cert is a CA.
KeyPair is the key pair to sign the certificate with.
NotAfter is the time the certificate is not valid after.
NotBefore is the time the certificate is not valid before.
SerialNumber is the Certificate Serial number.
Sign decodes a CSR and signs it with the CA.
Subject sets the Subject field.

# Structs

CertOptions are passed to cert options.

# Type aliases

CertOption sets CertOptions.