kauth

package
v0.0.0-...-1aa5fac Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright 2015 Yahoo Author: David Leon Gil (dgil@yahoo-inc.com) License: Apache 2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kauth

type Kauth struct {
	// contains filtered or unexported fields
}

A stub for a proper privileged-separated key authority.

func New

func New(kauthPem []byte) (ka *Kauth, err error)

New initializes a new key authority from a PEM file containing the authority's private key.

func (*Kauth) Sign

func (a *Kauth) Sign(msg []byte) (b []byte, err error)

Sign submits a message to the key authority for signing. (In this case, it just signs it...)

Jump to

Keyboard shortcuts

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