Documentation ¶
Overview ¶
Package tls implements the logic to generate and install TLS certificates.
Index ¶
Constants ¶
View Source
const ( ServerKey = "server.key" ClientKey = "client.key" CAKey = "ca.key" CACert = "ca.crt" ServerCert = "server.crt" ClientCert = "client.crt" )
Certs material filenames
View Source
const DefaultRSABits int = 4096
DefaultRSABits is the default bit size to generate an RSA keypair
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCTLS ¶
type GRPCTLS struct { RSABits int Country string Organization string CommonName string Expiration time.Duration // contains filtered or unexported fields }
A GRPCTLS represents a TLS Generator for Falco
func GRPCTLSGenerator ¶
GRPCTLSGenerator is used to init a new TLS Generator for Falco
func (*GRPCTLS) FlushToDisk ¶
FlushToDisk is used to persist the cert material from a GRPCTLS to disk given a path.
Click to show internal directories.
Click to hide internal directories.