encoding

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCert

func DecodeCert(encodedCert string) (*certmanager.Certificate, error)

DecodeCert deserializes an encoded certificate into a *certmanager.Certificate. The encoded certificate should be the output of EncodeCert.

func EncodeCert

func EncodeCert(cert *certmanager.Certificate) (string, error)

EncodeCert serialized a certificiate into Base64-encoded DERs, and supports certificate chains. The output is expected be passed back to DecodeCert

Types

This section is empty.

Jump to

Keyboard shortcuts

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