internal

package
v0.0.0-...-ff5f600 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnrecognizedRemoteBlessings = verror.Register("v.io/x/ref/services/iberoot/rootd/internal.UnrecognizedRemoteBlessings", verror.NoRetry, "{1:}{2:} blessing provided by the remote end: {3} [rejected: {4}] are not recognized by this identity provider: {5}")
	ErrInternal                    = verror.Register("v.io/x/ref/services/iberoot/rootd/internal.Internal", verror.NoRetry, "{1:}{2:} internal error: {3}")
)

Functions

func NewErrInternal

func NewErrInternal(ctx *context.T, err error) error

NewErrInternal returns an error with the ErrInternal ID.

func NewErrUnrecognizedRemoteBlessings

func NewErrUnrecognizedRemoteBlessings(ctx *context.T, blessings []string, rejected []security.RejectedBlessing, name string) error

NewErrUnrecognizedRemoteBlessings returns an error with the ErrUnrecognizedRemoteBlessings ID.

func NewRootServer

func NewRootServer(keyDir, name string) (iberoot.RootServerStub, error)

func SaveMaster

func SaveMaster(master ibe.Master, dir string) error

SaveMaster saves the provided IBE Master object into the provided directory.

The directory must not contain any previously saved Master objects. A new directory is created if it does not already exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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