certificates

package
v0.0.0-...-b2cf91c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCert

func ValidateCert(certData, dnsName string)

ValidateCert checks if the certificate imported is valid for the given dns name

func ValidateCertBundle

func ValidateCertBundle(data, publicKey, privKey, dnsName string)

ValidateCertBundle validates the certificate, public key and private key returned by the provider match and are usable

func X509KeyPair

func X509KeyPair(certPEMBlock, keyPEMBlock, pubKeyPEMBlock, pw []byte) (cert tls.Certificate, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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