fabric: github.com/hyperledger/fabric/internal/pkg/identity Index | Files

package identity

import "github.com/hyperledger/fabric/internal/pkg/identity"

Index

Package Files

identity.go

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 {
    Signer
    Serializer
}

SignerSerializer groups the Sign and Serialize methods.

Package identity is imported by 17 packages. Updated 2019-11-14. Refresh now. Tools for package owners.