i2ptls

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertPemificate

func CertPemificate(CertPem, KeyPem string, names []string, priv *ecdsa.PrivateKey) (tls.Certificate, error)

func CertPemificate(CertPem, KeyPem string, names []string, priv ed25519.PrivateKey) (tls.Certificate, error) {

func CheckFile

func CheckFile(path string) bool

func NewTLSCertificate

func NewTLSCertificate(names []string, priv *ecdsa.PrivateKey) ([]byte, error)

func TLSConfig

func TLSConfig(CertPem, KeyPem string, names []string) (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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