# Functions
CertEqual checks certificate equality.
Certificate decode and parse .pem []byte x509 certificate structure.
No description provided by the author
CreateEntry creates IdentityEntry structure from an identity interface.
EntryFromSerialized creates Entry from SerializedEntry.
No description provided by the author
Equal checks identity attributes (Msp id, cert subject and cert issuer) equality.
FromSerialized converts msp.SerializedIdentity struct to Identity interface{}.
FromStub creates Identity interface from tx creator mspID and certificate (stub.GetCreator).
GetDN (distinguished name) associated with a pkix.Name.
ID returns identifier from .509 certificate and base64 encode.
IDByCert returns id by certificate subject and issuer.
IDRaw generates string identifier from .509 certificate.
No description provided by the author
New creates CertIdentity struct from an mspID and certificate.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
ErrMSPIdentifierNotEqual occurs when msp id did not match.
ErrPemEncodedExpected pem format error.
No description provided by the author
# Structs
CertIdentity structs holds data of tx creator.
Entry structure for storing identity information string representation certificate Subject and Issuer can be used for reach query searching.
Id structure defines short id representation.
# Interfaces
Identity interface for invoker (tx creator) and grants, stored in chain code state.
No description provided by the author
IdentityEntry interface.
No description provided by the author