fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/sdkinternal/pkg/identity Index | Files

package identity

import "github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/sdkinternal/pkg/identity"


Package Files


type Serializer Uses

type Serializer interface {
    Serialize() ([]byte, error)

Serializer is an interface which wraps the Serialize function.

Serialize converts an identity to bytes. It returns an error on failure.

type Signer Uses

type Signer interface {
    Sign(message []byte) ([]byte, error)

Signer is an interface which wraps the Sign method.

Sign signs message bytes and returns the signature or an error on failure.

type SignerSerializer Uses

type SignerSerializer interface {

SignerSerializer groups the Sign and Serialize methods.

Package identity is imported by 2 packages. Updated 2019-05-28. Refresh now. Tools for package owners.