Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSP ¶
type MSP struct {
// contains filtered or unexported fields
}
MSP represents a loaded MSP definition.
func FromBase64 ¶
FromBase64 loads an MSP from a base64 encoded string.
func New ¶
func New(mspID string, rootCertificates, adminCertificates []*certificate.Certificate) (*MSP, error)
New creates a new MSP.
func (*MSP) AdminCertificates ¶
func (m *MSP) AdminCertificates() []*certificate.Certificate
AdminCertificates returns the admin certificates of the MSP.
func (*MSP) RootCertificates ¶
func (m *MSP) RootCertificates() []*certificate.Certificate
RootCertificates returns the root certificates of the MSP.
Click to show internal directories.
Click to hide internal directories.