certificate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package certificate loads Push Services certificates exported from your Keychain in Personal Information Exchange format (*.p12).

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExpired = errors.New("certificate has expired or is not yet valid")
)

Certificate errors

Functions

func Decode

func Decode(p12 []byte, password string) (tls.Certificate, error)

Decode and verify an in memory .p12 certificate (DER binary format).

func Load

func Load(filename, password string) (tls.Certificate, error)

Load a .p12 certificate from disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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