tlsutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package tlsutil checks PEM certificates; the frontend serves them and the backend stores them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Subject     string
	Names       []string
	NotAfter    time.Time
	Fingerprint string // SHA-256 of the certificate
}

Info describes the certificate in force, for the Admin page.

func Parse

func Parse(certPEM, keyPEM string) (*tls.Certificate, *Info, error)

Parse checks a PEM certificate chain and its private key.

Jump to

Keyboard shortcuts

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