credentialmgr

package
v0.0.0-...-e171dc0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentialManager

func NewCredentialManager(orgName string, config apiconfig.Config, cryptoProvider bccsp.BCCSP) (apifabclient.CredentialManager, error)

NewCredentialManager Constructor for a credential manager. @param {string} orgName - organisation id @returns {CredentialManager} new credential manager

Types

type CredentialManager

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

CredentialManager is used for retriving user's signing identity (ecert + private key)

func (*CredentialManager) GetSigningIdentity

func (mgr *CredentialManager) GetSigningIdentity(userName string) (*apifabclient.SigningIdentity, error)

GetSigningIdentity will sign the given object with provided key,

Jump to

Keyboard shortcuts

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