utils

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertToPEM

func CertToPEM(caBytes []byte) ([]byte, error)

func ConvertPEMCertToX509

func ConvertPEMCertToX509(pemCrt []byte) (*x509.Certificate, error)

func ConvertPEMPrivateKeyToX509

func ConvertPEMPrivateKeyToX509(pemKey []byte) (*rsa.PrivateKey, error)

func CsrToPEM

func CsrToPEM(csrBytes []byte) ([]byte, error)

func RSAKeyToPEM

func RSAKeyToPEM(privateKey *rsa.PrivateKey) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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