internal

package
v0.0.0-...-ba1c585 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 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/iberootd/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/iberootd/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