encoding

package
v0.0.0-...-7e42488 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package encoding provies helper methods for PEM encoding x509 certificates and RSA private keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PEMEncodeCertificate

func PEMEncodeCertificate(certificate *x509.Certificate) []byte

func PEMEncodeCertificates

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

func PEMEncodeKey

func PEMEncodeKey(key *rsa.PrivateKey) []byte

func PEMEncodeKeys

func PEMEncodeKeys(keys []*rsa.PrivateKey) [][]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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