cert

package
Version: v0.0.0-...-6e89ea1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientCert

func CreateClientCert(org *domain.Organization, certsPath, deviceID string) ([]byte, []byte, error)

CreateClientCert creates a signed client certificate

func CreateOrganizationCert

func CreateOrganizationCert(certsPath, orgName string) ([]byte, []byte, error)

CreateOrganizationCert creates a signed organization certificate

func CreateSecret

func CreateSecret(length int) (string, error)

CreateSecret generates a secret that can be used for encryption

Types

This section is empty.

Jump to

Keyboard shortcuts

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