package
0.61.2
Repository: https://github.com/fatedier/frp.git
Documentation: pkg.go.dev

# Functions

EncodeCertPEM returns PEM-encoded certificate data.
EncodePrivateKeyPEM returns PEM-encoded private key data.
NewPrivateKey creates an RSA private key.
NewSignedCert creates a signed certificate using the given CA certificate and key.
ValidCACert think cert and key are valid if they meet the following requirements: - key and cert are valid pair - caCert is the root ca of cert - cert is for dnsName - cert won't expire before time.

# Structs

Artifacts hosts a private key, its corresponding serving certificate and the CA certificate that signs the serving certificate.

# Interfaces

Generator is an interface to provision the serving certificate.