certfile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalPEM added in v0.1.0

func MarshalPEM(certificate *x509.Certificate) ([]byte, error)

MarshalPEM encodes an x509 certficate to bytes in PEM format

func WritePEM

func WritePEM(path string, certificate *x509.Certificate) (err error)

WritePEM writes an x509 certificate to a PEM file

func WritePKCS12

func WritePKCS12(path string, certificate *x509.Certificate) error

WritePKCS12 writes an x509 certificate to PKCS12 file

Types

This section is empty.

Jump to

Keyboard shortcuts

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