Documentation ¶
Index ¶
- func AddSelfSignedCertToClientPool(certFile string) (*x509.CertPool, error)
- func GenerateCert(host string, ip string) error
- func LoadCerts(certFile string) ([][]byte, error)
- func LoadPrivateKey(keyFile string) (any, error)
- func ReadUint16(b []byte) uint16
- func ReadUint8(b []byte) uint8
- func WriteUint16(b []byte, v uint16)
- func WriteUint8(b []byte, v uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCert ¶
func LoadPrivateKey ¶
func ReadUint16 ¶
func WriteUint16 ¶
func WriteUint8 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.