Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SigningManager

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

    SigningManager is used for signing objects with private key

    func New

    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

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

        Sign will sign the given object using provided key

        Source Files