Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertificatesFromDir ¶
GetCertificatesFromDir returns the PEM-encoded certificates from the given directory.
func GetMSPIdentity ¶
GetMSPIdentity returns the MSP identity from the passed entry formatted as <MSPConfigPath>:<MSPID>. If mspID is not empty, it will be used instead of the MSPID in the entry.
func ReadSingleCertificateFromFile ¶
ReadSingleCertificateFromFile reads the passed file and checks that it contains only one certificate in the PEM format. It returns an error if the file contains more than one certificate.
func SetupIssuersAndAuditors ¶
SetupIssuersAndAuditors sets up the issuers and auditors for the given public parameters
Types ¶
Click to show internal directories.
Click to hide internal directories.