# Functions
CreateCAPair creates a general CA certificate and associated key.
CreateClientPair creates a node key and certificate.
CreateNodePair creates a node key and certificate.
DNSNamesOption sets the DNS names for the certificate.
ExpOption sets the valid duration for the certificate.
KeySizeOption sets the size of the private key.
No description provided by the author
NewCACertificate generates a new self-signed CA Certificate.
NewCertificate generates a new Certificate using the supplied CA to sign it.
OrgOption defines the issuing organization for the certificate.
ParseCertificate decodes the supplied bytes and parses an x509.Certificate from the result.
ParsePrivateKey decode the supplied bytes and parses an rsa.PrivateKey from the result.
SerialOption sets the serial number for the certificate.
# Constants
The following constants are used to run the crdb binary.
CAPem describes the main CA certificate.
The following constants are used to run the crdb binary.
The following constants are used to run the crdb binary.
ClientCAPem describes the CA certificate used to verify client certificates.
ClientPem describes a client certificate.
The following constants are used to run the crdb binary.
The following constants are used to run the crdb binary.
The following constants are used to run the crdb binary.
The following constants are used to run the crdb binary.
NodePem describes the server certificate for the node, possibly a combined server/client certificate for user Node if a separate 'client.node.crt' is not present.
TenantClientCAPem describes the CA certificate used to broker authN/Z for SQL tenants wishing to access the KV layer.
TenantClientPem describes a SQL tenant client certificate.
UICAPem describes the CA certificate used to verify the Admin UI server certificate.
UIPem describes the server certificate for the admin UI.
# Variables
ErrInvalidPEMBlock is returned when parsing certificates or private keys fails.
# Structs
SQLUsername is used to define the username created in the client certificate.
# Interfaces
A Certificate consists of a private key and a certificate.
Option defines a configuration option for certificate creation.
# Type aliases
PemUsage indicates the purpose of a given certificate.