Documentation ¶
Index ¶
- type Certificates
- func (certs *Certificates) GetRootCertificate() *x509.Certificate
- func (certs *Certificates) MarshalJSON() ([]byte, error)
- func (certs *Certificates) RegisterNewClient(clientName string) (*tls.Certificate, error)
- func (certs *Certificates) ServerTLSConfig() *tls.Config
- func (certs *Certificates) UnmarshalJSON(bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificates ¶
type Certificates struct {
// contains filtered or unexported fields
}
func GenerateCertificates ¶
func GenerateCertificates() (*Certificates, error)
func (*Certificates) GetRootCertificate ¶
func (certs *Certificates) GetRootCertificate() *x509.Certificate
func (*Certificates) MarshalJSON ¶
func (certs *Certificates) MarshalJSON() ([]byte, error)
func (*Certificates) RegisterNewClient ¶
func (certs *Certificates) RegisterNewClient(clientName string) (*tls.Certificate, error)
func (*Certificates) ServerTLSConfig ¶
func (certs *Certificates) ServerTLSConfig() *tls.Config
func (*Certificates) UnmarshalJSON ¶
func (certs *Certificates) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.