Help us shape the future of Go! Take the 2026 Go Developer Survey

pki

package
v1.41.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertToBase64EncodedPEM

func CertToBase64EncodedPEM(cert string) (string, error)

CertToBase64EncodedPEM returns certificate in a base64 encoded PEM format.

func ParseBase64EncodedPrivKeyPEM

func ParseBase64EncodedPrivKeyPEM(privKey string) (*rsa.PrivateKey, error)

func PrivateKeyToBase64EncodedPEM

func PrivateKeyToBase64EncodedPEM(key string) (string, error)

PrivateKeyToBase64EncodedPEM returns private key in a base64 encoded PEM format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL