csr

package
v0.0.0-...-6e71b59 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(b []byte) (csr *x509.CertificateRequest, err error)

Load CSR from PEM encoded bytes.

func New

func New(subj pkix.Name, SANs []string, rnd io.Reader) (*x509.CertificateRequest, *rsa.PrivateKey, error)

New creates a new CSR

func PEMEncode

func PEMEncode(csr *x509.CertificateRequest) []byte

PEMEncode returns the PEM encoded bytes for the CSR

func Write

func Write(csr *x509.CertificateRequest, w io.Writer) error

func WriteFile

func WriteFile(csr *x509.CertificateRequest, out string) error

Types

This section is empty.

Directories

Path Synopsis
cmd
new

Jump to

Keyboard shortcuts

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