Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + func AssertAttributeValue(stub ChaincodeStubInterface, attrName, attrValue string) error + func GetAttributeValue(stub ChaincodeStubInterface, attrName string) (value string, found bool, err error) + func GetID(stub ChaincodeStubInterface) (string, error) + func GetMSPID(stub ChaincodeStubInterface) (string, error) + func GetX509Certificate(stub ChaincodeStubInterface) (*x509.Certificate, error) + type ChaincodeStubInterface interface + GetCreator func() ([]byte, error) + type ClientIdentity interface + AssertAttributeValue func(attrName, attrValue string) error + GetAttributeValue func(attrName string) (value string, found bool, err error) + GetID func() (string, error) + GetMSPID func() (string, error) + GetX509Certificate func() (*x509.Certificate, error) + func New(stub ChaincodeStubInterface) (ClientIdentity, error)