cert

package
v0.0.0-...-b6f4f4c Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cert provides certificate generation and formatting interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA() *tls.Certificate

GenerateCA generates a ca certificate.

func ToJKS

func ToJKS(cert *x509.Certificate) ([]byte, error)

ToJKS generates a Java KeyStore with the provided certificate.

func ToPEM

func ToPEM(cert *x509.Certificate) []byte

ToPEM encodes a certificate to PEM format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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