cert

package
v0.0.0-...-aa5a986 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: AGPL-3.0 Imports: 14 Imported by: 1

Documentation

Overview

Package cert provides methods and data types for processing and manipulating service certificates

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