activitypub

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePrivateKey

func DecodePrivateKey(k []byte) (crypto.PrivateKey, error)

DecodePrivateKey encodes public and private key to PEM format, returning them in that order.

func DecodePublicKey

func DecodePublicKey(k []byte) (crypto.PublicKey, error)

DecodePublicKey decodes public keys

func GenerateKeys

func GenerateKeys() (pubPEM []byte, privPEM []byte)

GenerateKeys creates an RSA keypair and returns the public and private key, in that order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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