parlca2

package
v0.4.206 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: ISC Imports: 9 Imported by: 0

Documentation

Overview

Package parlca2 provides TLS credentials generation for parlca package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials() (x509Certificate *x509.Certificate, privateKey crypto.Signer, err error)

Credentials returns minimum credentials for TLS

  • x509Certificate: IP-literal based certificate for “127.0.0.1” and “::1’
  • — x509Certificate.Raw is binary certificate DER ASN.1
  • — signed by the private key
  • the private key is crypto.Signer: Public Sign methods

Types

This section is empty.

Jump to

Keyboard shortcuts

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