Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity interface {
MspID() string // ID of the Membership Service Provider to which this identity belongs.
Credentials() []byte // Implementation-specific credentials.
}
Identity used to interact with a Fabric network.
type SigningIdentity ¶
SigningIdentity represents an identity that is able to sign messages.
func NewPrivateKeySigningIdentity ¶
func NewPrivateKeySigningIdentity(mspID string, certificate *x509.Certificate, privateKey crypto.PrivateKey) (SigningIdentity, error)
Click to show internal directories.
Click to hide internal directories.