cert

package
v0.0.0-...-4728dbd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCertificate

func ParseCertificate(certFile string) (*x509.Certificate, error)

func ParseKey

func ParseKey(keyFile string) (crypto.Signer, error)

Types

type CertificateAndKey

type CertificateAndKey struct {
	Certificate *x509.Certificate
	PrivateKey  crypto.Signer
}

Jump to

Keyboard shortcuts

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