certutil

package
v0.0.0-...-f665d57 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const SUBJECT_ORGANIZATION = "bettertls.com"

Variables

This section is empty.

Functions

func GenerateSelfSignedCert

func GenerateSelfSignedCert(commonName string) (*x509.Certificate, crypto.Signer, error)

func GetNotAfter

func GetNotAfter(expired bool) time.Time

func GetNotBefore

func GetNotBefore() time.Time

func LoadCert

func LoadCert(rootCa string) (*x509.Certificate, crypto.Signer, error)

func RandomSerial

func RandomSerial() *big.Int

func RandomString

func RandomString() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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