credentials

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithExtendedKeyUsageForServerAuth

func WithExtendedKeyUsageForServerAuth() (option tlsCertificateOption)

func WithIPAddress

func WithIPAddress(address string) (option tlsCertificateOption)

Types

type TLSCertificate

type TLSCertificate struct {
	// contains filtered or unexported fields
}

func NewTLSCertificate

func NewTLSCertificate(options ...tlsCertificateOption) (
	c *TLSCertificate, e error,
)

func (*TLSCertificate) Destroy

func (c *TLSCertificate) Destroy() (e error)

func (*TLSCertificate) PathToCertPEM

func (c *TLSCertificate) PathToCertPEM() string

func (*TLSCertificate) PathToKeyPEM

func (c *TLSCertificate) PathToKeyPEM() string

Jump to

Keyboard shortcuts

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