pem

package
v0.0.0-...-a85b10e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeCRLToMemory

func EncodeCRLToMemory(crl *pkix.CertificateList) []byte

EncodeCRLToMemory encodes CRL to PEM

func EncodeCertificateToMemory

func EncodeCertificateToMemory(c *x509.Certificate) []byte

EncodeCertificateToMemory encodes x509 certificate to PEM

func EncodePrivateKeyToMemory

func EncodePrivateKeyToMemory(key interface{}) ([]byte, error)

EncodePrivateKeyToMemory encodes private key to PEM

func EncodeRSAPrivateKeyToMemory

func EncodeRSAPrivateKeyToMemory(k *rsa.PrivateKey) []byte

EncodeRSAPrivateKeyToMemory encodes rsa private key to PEM

Types

This section is empty.

Jump to

Keyboard shortcuts

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