pkcs8

package
v7.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

PKCS#8 is a specification for encoding private keys into an ASN.1 structure. See RFC 5208

The Go standard library implements parsing PKCS#8 keys but does not support marshalling them; this module provides that function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalPKCS8PrivateKey

func MarshalPKCS8PrivateKey(priv crypto.PrivateKey) ([]byte, error)

Marshal a RSA or ECDSA private key as an unencrypted PKCS#8 blob

Types

This section is empty.

Jump to

Keyboard shortcuts

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