fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/fab/signingmgr Index | Files

package signingmgr

import "github.com/hyperledger/fabric-sdk-go/pkg/fab/signingmgr"

Index

Package Files

signingmgr.go

type SigningManager Uses

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

SigningManager is used for signing objects with private key

func New Uses

func New(cryptoProvider core.CryptoSuite) (*SigningManager, error)

New Constructor for a signing manager. @param {BCCSP} cryptoProvider - crypto provider @param {Config} config - configuration provider @returns {SigningManager} new signing manager

func (*SigningManager) Sign Uses

func (mgr *SigningManager) Sign(object []byte, key core.Key) ([]byte, error)

Sign will sign the given object using provided key

Package signingmgr imports 3 packages (graph) and is imported by 1 packages. Updated 2018-07-29. Refresh now. Tools for package owners.