Help us shape the future of Go! Take the 2026 Go Developer Survey

generate

package
v2.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEdgeMTLSURISAN

func BuildEdgeMTLSURISAN(appURL, envID string) *url.URL

BuildEdgeMTLSURISAN returns the SPIFFE URI SAN for an edge environment ID.

func Command added in v2.16.0

func Command() *cobra.Command

func EdgeMTLSTrustDomain

func EdgeMTLSTrustDomain(appURL string) string

EdgeMTLSTrustDomain returns the SPIFFE trust domain derived from an Arcane app URL.

func GenerateAPIKey

func GenerateAPIKey() (string, error)

func GenerateMLDSA87PrivateKey added in v2.10.0

func GenerateMLDSA87PrivateKey() (*mldsa.PrivateKey, error)

GenerateMLDSA87PrivateKey generates an ML-DSA-87 private key.

func GenerateP384PrivateKey

func GenerateP384PrivateKey() (*ecdsa.PrivateKey, error)

GenerateP384PrivateKey generates an ECDSA P-384 private key.

func NewEdgeMTLSCATemplate

func NewEdgeMTLSCATemplate() (*x509.Certificate, error)

NewEdgeMTLSCATemplate builds Arcane's edge mTLS CA certificate template.

func NewEdgeMTLSClientTemplate

func NewEdgeMTLSClientTemplate(commonName string, uriSAN *url.URL, dnsSANs []string) (*x509.Certificate, error)

NewEdgeMTLSClientTemplate builds an edge-agent client certificate template.

func NewServerTLSTemplate

func NewServerTLSTemplate(commonName string, hosts []string) (*x509.Certificate, error)

NewServerTLSTemplate builds a self-signed Arcane HTTPS server certificate template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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