credentialmgr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 14 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 apicryptosuite.CryptoSuite) (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,

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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