pemutil

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeCertificates

func EncodeCertificates(certificates []*x509.Certificate) []byte

func EncodePKCS8PrivateKey

func EncodePKCS8PrivateKey(privateKey interface{}) ([]byte, error)

func ParseCertificates

func ParseCertificates(certsBytes []byte) ([]*x509.Certificate, error)

func ParsePrivateKey

func ParsePrivateKey(keyBytes []byte) (crypto.PrivateKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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