msp

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MSPIdentityAnonymity_MSPIdentityAnonymityType_name = map[int32]string{
	0: "NOMINAL",
	1: "ANONYMOUS",
}
View Source
var MSPIdentityAnonymity_MSPIdentityAnonymityType_value = map[string]int32{
	"NOMINAL":   0,
	"ANONYMOUS": 1,
}
View Source
var MSPPrincipal_Classification_name = map[int32]string{
	0: "ROLE",
	1: "ORGANIZATION_UNIT",
	2: "IDENTITY",
	3: "ANONYMITY",
	4: "COMBINED",
}
View Source
var MSPPrincipal_Classification_value = map[string]int32{
	"ROLE":              0,
	"ORGANIZATION_UNIT": 1,
	"IDENTITY":          2,
	"ANONYMITY":         3,
	"COMBINED":          4,
}
View Source
var MSPRole_MSPRoleType_name = map[int32]string{
	0: "MEMBER",
	1: "ADMIN",
	2: "CLIENT",
	3: "PEER",
	4: "ORDERER",
}
View Source
var MSPRole_MSPRoleType_value = map[string]int32{
	"MEMBER":  0,
	"ADMIN":   1,
	"CLIENT":  2,
	"PEER":    3,
	"ORDERER": 4,
}

Functions

This section is empty.

Types

type CombinedPrincipal

type CombinedPrincipal struct {
	Principals           []*MSPPrincipal `protobuf:"bytes,1,rep,name=principals,proto3" json:"principals,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CombinedPrincipal) Descriptor

func (*CombinedPrincipal) Descriptor() ([]byte, []int)

func (*CombinedPrincipal) GetPrincipals

func (m *CombinedPrincipal) GetPrincipals() []*MSPPrincipal

func (*CombinedPrincipal) ProtoMessage

func (*CombinedPrincipal) ProtoMessage()

func (*CombinedPrincipal) Reset

func (m *CombinedPrincipal) Reset()

func (*CombinedPrincipal) String

func (m *CombinedPrincipal) String() string

func (*CombinedPrincipal) XXX_DiscardUnknown

func (m *CombinedPrincipal) XXX_DiscardUnknown()

func (*CombinedPrincipal) XXX_Marshal

func (m *CombinedPrincipal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CombinedPrincipal) XXX_Merge

func (m *CombinedPrincipal) XXX_Merge(src proto.Message)

func (*CombinedPrincipal) XXX_Size

func (m *CombinedPrincipal) XXX_Size() int

func (*CombinedPrincipal) XXX_Unmarshal

func (m *CombinedPrincipal) XXX_Unmarshal(b []byte) error

type FabricCryptoConfig

type FabricCryptoConfig struct {
	SignatureHashFamily string `protobuf:"bytes,1,opt,name=signature_hash_family,json=signatureHashFamily,proto3" json:"signature_hash_family,omitempty"`

	IdentityIdentifierHashFunction string   `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral           struct{} `json:"-"`
	XXX_unrecognized               []byte   `json:"-"`
	XXX_sizecache                  int32    `json:"-"`
}

func (*FabricCryptoConfig) Descriptor

func (*FabricCryptoConfig) Descriptor() ([]byte, []int)

func (*FabricCryptoConfig) GetIdentityIdentifierHashFunction

func (m *FabricCryptoConfig) GetIdentityIdentifierHashFunction() string

func (*FabricCryptoConfig) GetSignatureHashFamily

func (m *FabricCryptoConfig) GetSignatureHashFamily() string

func (*FabricCryptoConfig) ProtoMessage

func (*FabricCryptoConfig) ProtoMessage()

func (*FabricCryptoConfig) Reset

func (m *FabricCryptoConfig) Reset()

func (*FabricCryptoConfig) String

func (m *FabricCryptoConfig) String() string

func (*FabricCryptoConfig) XXX_DiscardUnknown

func (m *FabricCryptoConfig) XXX_DiscardUnknown()

func (*FabricCryptoConfig) XXX_Marshal

func (m *FabricCryptoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FabricCryptoConfig) XXX_Merge

func (m *FabricCryptoConfig) XXX_Merge(src proto.Message)

func (*FabricCryptoConfig) XXX_Size

func (m *FabricCryptoConfig) XXX_Size() int

func (*FabricCryptoConfig) XXX_Unmarshal

func (m *FabricCryptoConfig) XXX_Unmarshal(b []byte) error

type FabricMSPConfig

type FabricMSPConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	RootCerts [][]byte `protobuf:"bytes,2,rep,name=root_certs,json=rootCerts,proto3" json:"root_certs,omitempty"`

	IntermediateCerts [][]byte `protobuf:"bytes,3,rep,name=intermediate_certs,json=intermediateCerts,proto3" json:"intermediate_certs,omitempty"`

	Admins [][]byte `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"`

	RevocationList [][]byte `protobuf:"bytes,5,rep,name=revocation_list,json=revocationList,proto3" json:"revocation_list,omitempty"`

	SigningIdentity *SigningIdentityInfo `protobuf:"bytes,6,opt,name=signing_identity,json=signingIdentity,proto3" json:"signing_identity,omitempty"`

	OrganizationalUnitIdentifiers []*FabricOUIdentifier `` /* 150-byte string literal not displayed */

	CryptoConfig *FabricCryptoConfig `protobuf:"bytes,8,opt,name=crypto_config,json=cryptoConfig,proto3" json:"crypto_config,omitempty"`

	TlsRootCerts [][]byte `protobuf:"bytes,9,rep,name=tls_root_certs,json=tlsRootCerts,proto3" json:"tls_root_certs,omitempty"`

	TlsIntermediateCerts [][]byte `protobuf:"bytes,10,rep,name=tls_intermediate_certs,json=tlsIntermediateCerts,proto3" json:"tls_intermediate_certs,omitempty"`

	FabricNodeOus        *FabricNodeOUs `protobuf:"bytes,11,opt,name=blockchain_node_ous,json=blockchainNodeOus,proto3" json:"blockchain_node_ous,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*FabricMSPConfig) Descriptor

func (*FabricMSPConfig) Descriptor() ([]byte, []int)

func (*FabricMSPConfig) GetAdmins

func (m *FabricMSPConfig) GetAdmins() [][]byte

func (*FabricMSPConfig) GetCryptoConfig

func (m *FabricMSPConfig) GetCryptoConfig() *FabricCryptoConfig

func (*FabricMSPConfig) GetFabricNodeOus

func (m *FabricMSPConfig) GetFabricNodeOus() *FabricNodeOUs

func (*FabricMSPConfig) GetIntermediateCerts

func (m *FabricMSPConfig) GetIntermediateCerts() [][]byte

func (*FabricMSPConfig) GetName

func (m *FabricMSPConfig) GetName() string

func (*FabricMSPConfig) GetOrganizationalUnitIdentifiers

func (m *FabricMSPConfig) GetOrganizationalUnitIdentifiers() []*FabricOUIdentifier

func (*FabricMSPConfig) GetRevocationList

func (m *FabricMSPConfig) GetRevocationList() [][]byte

func (*FabricMSPConfig) GetRootCerts

func (m *FabricMSPConfig) GetRootCerts() [][]byte

func (*FabricMSPConfig) GetSigningIdentity

func (m *FabricMSPConfig) GetSigningIdentity() *SigningIdentityInfo

func (*FabricMSPConfig) GetTlsIntermediateCerts

func (m *FabricMSPConfig) GetTlsIntermediateCerts() [][]byte

func (*FabricMSPConfig) GetTlsRootCerts

func (m *FabricMSPConfig) GetTlsRootCerts() [][]byte

func (*FabricMSPConfig) ProtoMessage

func (*FabricMSPConfig) ProtoMessage()

func (*FabricMSPConfig) Reset

func (m *FabricMSPConfig) Reset()

func (*FabricMSPConfig) String

func (m *FabricMSPConfig) String() string

func (*FabricMSPConfig) XXX_DiscardUnknown

func (m *FabricMSPConfig) XXX_DiscardUnknown()

func (*FabricMSPConfig) XXX_Marshal

func (m *FabricMSPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FabricMSPConfig) XXX_Merge

func (m *FabricMSPConfig) XXX_Merge(src proto.Message)

func (*FabricMSPConfig) XXX_Size

func (m *FabricMSPConfig) XXX_Size() int

func (*FabricMSPConfig) XXX_Unmarshal

func (m *FabricMSPConfig) XXX_Unmarshal(b []byte) error

type FabricNodeOUs

type FabricNodeOUs struct {
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`

	ClientOuIdentifier *FabricOUIdentifier `protobuf:"bytes,2,opt,name=client_ou_identifier,json=clientOuIdentifier,proto3" json:"client_ou_identifier,omitempty"`

	PeerOuIdentifier *FabricOUIdentifier `protobuf:"bytes,3,opt,name=peer_ou_identifier,json=peerOuIdentifier,proto3" json:"peer_ou_identifier,omitempty"`

	AdminOuIdentifier *FabricOUIdentifier `protobuf:"bytes,4,opt,name=admin_ou_identifier,json=adminOuIdentifier,proto3" json:"admin_ou_identifier,omitempty"`

	OrdererOuIdentifier  *FabricOUIdentifier `protobuf:"bytes,5,opt,name=orderer_ou_identifier,json=ordererOuIdentifier,proto3" json:"orderer_ou_identifier,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*FabricNodeOUs) Descriptor

func (*FabricNodeOUs) Descriptor() ([]byte, []int)

func (*FabricNodeOUs) GetAdminOuIdentifier

func (m *FabricNodeOUs) GetAdminOuIdentifier() *FabricOUIdentifier

func (*FabricNodeOUs) GetClientOuIdentifier

func (m *FabricNodeOUs) GetClientOuIdentifier() *FabricOUIdentifier

func (*FabricNodeOUs) GetEnable

func (m *FabricNodeOUs) GetEnable() bool

func (*FabricNodeOUs) GetOrdererOuIdentifier

func (m *FabricNodeOUs) GetOrdererOuIdentifier() *FabricOUIdentifier

func (*FabricNodeOUs) GetPeerOuIdentifier

func (m *FabricNodeOUs) GetPeerOuIdentifier() *FabricOUIdentifier

func (*FabricNodeOUs) ProtoMessage

func (*FabricNodeOUs) ProtoMessage()

func (*FabricNodeOUs) Reset

func (m *FabricNodeOUs) Reset()

func (*FabricNodeOUs) String

func (m *FabricNodeOUs) String() string

func (*FabricNodeOUs) XXX_DiscardUnknown

func (m *FabricNodeOUs) XXX_DiscardUnknown()

func (*FabricNodeOUs) XXX_Marshal

func (m *FabricNodeOUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FabricNodeOUs) XXX_Merge

func (m *FabricNodeOUs) XXX_Merge(src proto.Message)

func (*FabricNodeOUs) XXX_Size

func (m *FabricNodeOUs) XXX_Size() int

func (*FabricNodeOUs) XXX_Unmarshal

func (m *FabricNodeOUs) XXX_Unmarshal(b []byte) error

type FabricOUIdentifier

type FabricOUIdentifier struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`

	OrganizationalUnitIdentifier string   `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	XXX_unrecognized             []byte   `json:"-"`
	XXX_sizecache                int32    `json:"-"`
}

func (*FabricOUIdentifier) Descriptor

func (*FabricOUIdentifier) Descriptor() ([]byte, []int)

func (*FabricOUIdentifier) GetCertificate

func (m *FabricOUIdentifier) GetCertificate() []byte

func (*FabricOUIdentifier) GetOrganizationalUnitIdentifier

func (m *FabricOUIdentifier) GetOrganizationalUnitIdentifier() string

func (*FabricOUIdentifier) ProtoMessage

func (*FabricOUIdentifier) ProtoMessage()

func (*FabricOUIdentifier) Reset

func (m *FabricOUIdentifier) Reset()

func (*FabricOUIdentifier) String

func (m *FabricOUIdentifier) String() string

func (*FabricOUIdentifier) XXX_DiscardUnknown

func (m *FabricOUIdentifier) XXX_DiscardUnknown()

func (*FabricOUIdentifier) XXX_Marshal

func (m *FabricOUIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FabricOUIdentifier) XXX_Merge

func (m *FabricOUIdentifier) XXX_Merge(src proto.Message)

func (*FabricOUIdentifier) XXX_Size

func (m *FabricOUIdentifier) XXX_Size() int

func (*FabricOUIdentifier) XXX_Unmarshal

func (m *FabricOUIdentifier) XXX_Unmarshal(b []byte) error

type IdemixMSPConfig

type IdemixMSPConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Ipk []byte `protobuf:"bytes,2,opt,name=ipk,proto3" json:"ipk,omitempty"`

	Signer *IdemixMSPSignerConfig `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`

	RevocationPk []byte `protobuf:"bytes,4,opt,name=revocation_pk,json=revocationPk,proto3" json:"revocation_pk,omitempty"`

	Epoch                int64    `protobuf:"varint,5,opt,name=epoch,proto3" json:"epoch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IdemixMSPConfig) Descriptor

func (*IdemixMSPConfig) Descriptor() ([]byte, []int)

func (*IdemixMSPConfig) GetEpoch

func (m *IdemixMSPConfig) GetEpoch() int64

func (*IdemixMSPConfig) GetIpk

func (m *IdemixMSPConfig) GetIpk() []byte

func (*IdemixMSPConfig) GetName

func (m *IdemixMSPConfig) GetName() string

func (*IdemixMSPConfig) GetRevocationPk

func (m *IdemixMSPConfig) GetRevocationPk() []byte

func (*IdemixMSPConfig) GetSigner

func (m *IdemixMSPConfig) GetSigner() *IdemixMSPSignerConfig

func (*IdemixMSPConfig) ProtoMessage

func (*IdemixMSPConfig) ProtoMessage()

func (*IdemixMSPConfig) Reset

func (m *IdemixMSPConfig) Reset()

func (*IdemixMSPConfig) String

func (m *IdemixMSPConfig) String() string

func (*IdemixMSPConfig) XXX_DiscardUnknown

func (m *IdemixMSPConfig) XXX_DiscardUnknown()

func (*IdemixMSPConfig) XXX_Marshal

func (m *IdemixMSPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IdemixMSPConfig) XXX_Merge

func (m *IdemixMSPConfig) XXX_Merge(src proto.Message)

func (*IdemixMSPConfig) XXX_Size

func (m *IdemixMSPConfig) XXX_Size() int

func (*IdemixMSPConfig) XXX_Unmarshal

func (m *IdemixMSPConfig) XXX_Unmarshal(b []byte) error

type IdemixMSPSignerConfig

type IdemixMSPSignerConfig struct {
	Cred []byte `protobuf:"bytes,1,opt,name=cred,proto3" json:"cred,omitempty"`

	Sk []byte `protobuf:"bytes,2,opt,name=sk,proto3" json:"sk,omitempty"`

	OrganizationalUnitIdentifier string `` /* 147-byte string literal not displayed */

	Role int32 `protobuf:"varint,4,opt,name=role,proto3" json:"role,omitempty"`

	EnrollmentId string `protobuf:"bytes,5,opt,name=enrollment_id,json=enrollmentId,proto3" json:"enrollment_id,omitempty"`

	CredentialRevocationInformation []byte   `` /* 156-byte string literal not displayed */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

func (*IdemixMSPSignerConfig) Descriptor

func (*IdemixMSPSignerConfig) Descriptor() ([]byte, []int)

func (*IdemixMSPSignerConfig) GetCred

func (m *IdemixMSPSignerConfig) GetCred() []byte

func (*IdemixMSPSignerConfig) GetCredentialRevocationInformation

func (m *IdemixMSPSignerConfig) GetCredentialRevocationInformation() []byte

func (*IdemixMSPSignerConfig) GetEnrollmentId

func (m *IdemixMSPSignerConfig) GetEnrollmentId() string

func (*IdemixMSPSignerConfig) GetOrganizationalUnitIdentifier

func (m *IdemixMSPSignerConfig) GetOrganizationalUnitIdentifier() string

func (*IdemixMSPSignerConfig) GetRole

func (m *IdemixMSPSignerConfig) GetRole() int32

func (*IdemixMSPSignerConfig) GetSk

func (m *IdemixMSPSignerConfig) GetSk() []byte

func (*IdemixMSPSignerConfig) ProtoMessage

func (*IdemixMSPSignerConfig) ProtoMessage()

func (*IdemixMSPSignerConfig) Reset

func (m *IdemixMSPSignerConfig) Reset()

func (*IdemixMSPSignerConfig) String

func (m *IdemixMSPSignerConfig) String() string

func (*IdemixMSPSignerConfig) XXX_DiscardUnknown

func (m *IdemixMSPSignerConfig) XXX_DiscardUnknown()

func (*IdemixMSPSignerConfig) XXX_Marshal

func (m *IdemixMSPSignerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IdemixMSPSignerConfig) XXX_Merge

func (m *IdemixMSPSignerConfig) XXX_Merge(src proto.Message)

func (*IdemixMSPSignerConfig) XXX_Size

func (m *IdemixMSPSignerConfig) XXX_Size() int

func (*IdemixMSPSignerConfig) XXX_Unmarshal

func (m *IdemixMSPSignerConfig) XXX_Unmarshal(b []byte) error

type KeyInfo

type KeyInfo struct {
	KeyIdentifier string `protobuf:"bytes,1,opt,name=key_identifier,json=keyIdentifier,proto3" json:"key_identifier,omitempty"`

	KeyMaterial          []byte   `protobuf:"bytes,2,opt,name=key_material,json=keyMaterial,proto3" json:"key_material,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyInfo) Descriptor

func (*KeyInfo) Descriptor() ([]byte, []int)

func (*KeyInfo) GetKeyIdentifier

func (m *KeyInfo) GetKeyIdentifier() string

func (*KeyInfo) GetKeyMaterial

func (m *KeyInfo) GetKeyMaterial() []byte

func (*KeyInfo) ProtoMessage

func (*KeyInfo) ProtoMessage()

func (*KeyInfo) Reset

func (m *KeyInfo) Reset()

func (*KeyInfo) String

func (m *KeyInfo) String() string

func (*KeyInfo) XXX_DiscardUnknown

func (m *KeyInfo) XXX_DiscardUnknown()

func (*KeyInfo) XXX_Marshal

func (m *KeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyInfo) XXX_Merge

func (m *KeyInfo) XXX_Merge(src proto.Message)

func (*KeyInfo) XXX_Size

func (m *KeyInfo) XXX_Size() int

func (*KeyInfo) XXX_Unmarshal

func (m *KeyInfo) XXX_Unmarshal(b []byte) error

type MSPConfig

type MSPConfig struct {
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`

	Config               []byte   `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MSPConfig) Descriptor

func (*MSPConfig) Descriptor() ([]byte, []int)

func (*MSPConfig) GetConfig

func (m *MSPConfig) GetConfig() []byte

func (*MSPConfig) GetType

func (m *MSPConfig) GetType() int32

func (*MSPConfig) ProtoMessage

func (*MSPConfig) ProtoMessage()

func (*MSPConfig) Reset

func (m *MSPConfig) Reset()

func (*MSPConfig) String

func (m *MSPConfig) String() string

func (*MSPConfig) VariablyOpaqueFieldProto

func (mc *MSPConfig) VariablyOpaqueFieldProto(name string) (proto.Message, error)

func (*MSPConfig) VariablyOpaqueFields

func (mc *MSPConfig) VariablyOpaqueFields() []string

func (*MSPConfig) XXX_DiscardUnknown

func (m *MSPConfig) XXX_DiscardUnknown()

func (*MSPConfig) XXX_Marshal

func (m *MSPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MSPConfig) XXX_Merge

func (m *MSPConfig) XXX_Merge(src proto.Message)

func (*MSPConfig) XXX_Size

func (m *MSPConfig) XXX_Size() int

func (*MSPConfig) XXX_Unmarshal

func (m *MSPConfig) XXX_Unmarshal(b []byte) error

type MSPIdentityAnonymity

type MSPIdentityAnonymity struct {
	AnonymityType        MSPIdentityAnonymity_MSPIdentityAnonymityType `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (*MSPIdentityAnonymity) Descriptor

func (*MSPIdentityAnonymity) Descriptor() ([]byte, []int)

func (*MSPIdentityAnonymity) GetAnonymityType

func (*MSPIdentityAnonymity) ProtoMessage

func (*MSPIdentityAnonymity) ProtoMessage()

func (*MSPIdentityAnonymity) Reset

func (m *MSPIdentityAnonymity) Reset()

func (*MSPIdentityAnonymity) String

func (m *MSPIdentityAnonymity) String() string

func (*MSPIdentityAnonymity) XXX_DiscardUnknown

func (m *MSPIdentityAnonymity) XXX_DiscardUnknown()

func (*MSPIdentityAnonymity) XXX_Marshal

func (m *MSPIdentityAnonymity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MSPIdentityAnonymity) XXX_Merge

func (m *MSPIdentityAnonymity) XXX_Merge(src proto.Message)

func (*MSPIdentityAnonymity) XXX_Size

func (m *MSPIdentityAnonymity) XXX_Size() int

func (*MSPIdentityAnonymity) XXX_Unmarshal

func (m *MSPIdentityAnonymity) XXX_Unmarshal(b []byte) error

type MSPIdentityAnonymity_MSPIdentityAnonymityType

type MSPIdentityAnonymity_MSPIdentityAnonymityType int32
const (
	MSPIdentityAnonymity_NOMINAL   MSPIdentityAnonymity_MSPIdentityAnonymityType = 0
	MSPIdentityAnonymity_ANONYMOUS MSPIdentityAnonymity_MSPIdentityAnonymityType = 1
)

func (MSPIdentityAnonymity_MSPIdentityAnonymityType) EnumDescriptor

func (MSPIdentityAnonymity_MSPIdentityAnonymityType) EnumDescriptor() ([]byte, []int)

func (MSPIdentityAnonymity_MSPIdentityAnonymityType) String

type MSPPrincipal

type MSPPrincipal struct {
	PrincipalClassification MSPPrincipal_Classification `` /* 171-byte string literal not displayed */

	Principal            []byte   `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MSPPrincipal) Descriptor

func (*MSPPrincipal) Descriptor() ([]byte, []int)

func (*MSPPrincipal) GetPrincipal

func (m *MSPPrincipal) GetPrincipal() []byte

func (*MSPPrincipal) GetPrincipalClassification

func (m *MSPPrincipal) GetPrincipalClassification() MSPPrincipal_Classification

func (*MSPPrincipal) ProtoMessage

func (*MSPPrincipal) ProtoMessage()

func (*MSPPrincipal) Reset

func (m *MSPPrincipal) Reset()

func (*MSPPrincipal) String

func (m *MSPPrincipal) String() string

func (*MSPPrincipal) VariablyOpaqueFieldProto

func (mp *MSPPrincipal) VariablyOpaqueFieldProto(name string) (proto.Message, error)

func (*MSPPrincipal) VariablyOpaqueFields

func (mp *MSPPrincipal) VariablyOpaqueFields() []string

func (*MSPPrincipal) XXX_DiscardUnknown

func (m *MSPPrincipal) XXX_DiscardUnknown()

func (*MSPPrincipal) XXX_Marshal

func (m *MSPPrincipal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MSPPrincipal) XXX_Merge

func (m *MSPPrincipal) XXX_Merge(src proto.Message)

func (*MSPPrincipal) XXX_Size

func (m *MSPPrincipal) XXX_Size() int

func (*MSPPrincipal) XXX_Unmarshal

func (m *MSPPrincipal) XXX_Unmarshal(b []byte) error

type MSPPrincipal_Classification

type MSPPrincipal_Classification int32
const (
	MSPPrincipal_ROLE MSPPrincipal_Classification = 0

	MSPPrincipal_ORGANIZATION_UNIT MSPPrincipal_Classification = 1

	MSPPrincipal_IDENTITY MSPPrincipal_Classification = 2

	MSPPrincipal_ANONYMITY MSPPrincipal_Classification = 3

	MSPPrincipal_COMBINED MSPPrincipal_Classification = 4
)

func (MSPPrincipal_Classification) EnumDescriptor

func (MSPPrincipal_Classification) EnumDescriptor() ([]byte, []int)

func (MSPPrincipal_Classification) String

type MSPRole

type MSPRole struct {
	MspIdentifier string `protobuf:"bytes,1,opt,name=msp_identifier,json=mspIdentifier,proto3" json:"msp_identifier,omitempty"`

	Role                 MSPRole_MSPRoleType `protobuf:"varint,2,opt,name=role,proto3,enum=common.MSPRole_MSPRoleType" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*MSPRole) Descriptor

func (*MSPRole) Descriptor() ([]byte, []int)

func (*MSPRole) GetMspIdentifier

func (m *MSPRole) GetMspIdentifier() string

func (*MSPRole) GetRole

func (m *MSPRole) GetRole() MSPRole_MSPRoleType

func (*MSPRole) ProtoMessage

func (*MSPRole) ProtoMessage()

func (*MSPRole) Reset

func (m *MSPRole) Reset()

func (*MSPRole) String

func (m *MSPRole) String() string

func (*MSPRole) XXX_DiscardUnknown

func (m *MSPRole) XXX_DiscardUnknown()

func (*MSPRole) XXX_Marshal

func (m *MSPRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MSPRole) XXX_Merge

func (m *MSPRole) XXX_Merge(src proto.Message)

func (*MSPRole) XXX_Size

func (m *MSPRole) XXX_Size() int

func (*MSPRole) XXX_Unmarshal

func (m *MSPRole) XXX_Unmarshal(b []byte) error

type MSPRole_MSPRoleType

type MSPRole_MSPRoleType int32
const (
	MSPRole_MEMBER  MSPRole_MSPRoleType = 0
	MSPRole_ADMIN   MSPRole_MSPRoleType = 1
	MSPRole_CLIENT  MSPRole_MSPRoleType = 2
	MSPRole_PEER    MSPRole_MSPRoleType = 3
	MSPRole_ORDERER MSPRole_MSPRoleType = 4
)

func (MSPRole_MSPRoleType) EnumDescriptor

func (MSPRole_MSPRoleType) EnumDescriptor() ([]byte, []int)

func (MSPRole_MSPRoleType) String

func (x MSPRole_MSPRoleType) String() string

type OrganizationUnit

type OrganizationUnit struct {
	MspIdentifier string `protobuf:"bytes,1,opt,name=msp_identifier,json=mspIdentifier,proto3" json:"msp_identifier,omitempty"`

	OrganizationalUnitIdentifier string `` /* 147-byte string literal not displayed */

	CertifiersIdentifier []byte   `protobuf:"bytes,3,opt,name=certifiers_identifier,json=certifiersIdentifier,proto3" json:"certifiers_identifier,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OrganizationUnit) Descriptor

func (*OrganizationUnit) Descriptor() ([]byte, []int)

func (*OrganizationUnit) GetCertifiersIdentifier

func (m *OrganizationUnit) GetCertifiersIdentifier() []byte

func (*OrganizationUnit) GetMspIdentifier

func (m *OrganizationUnit) GetMspIdentifier() string

func (*OrganizationUnit) GetOrganizationalUnitIdentifier

func (m *OrganizationUnit) GetOrganizationalUnitIdentifier() string

func (*OrganizationUnit) ProtoMessage

func (*OrganizationUnit) ProtoMessage()

func (*OrganizationUnit) Reset

func (m *OrganizationUnit) Reset()

func (*OrganizationUnit) String

func (m *OrganizationUnit) String() string

func (*OrganizationUnit) XXX_DiscardUnknown

func (m *OrganizationUnit) XXX_DiscardUnknown()

func (*OrganizationUnit) XXX_Marshal

func (m *OrganizationUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationUnit) XXX_Merge

func (m *OrganizationUnit) XXX_Merge(src proto.Message)

func (*OrganizationUnit) XXX_Size

func (m *OrganizationUnit) XXX_Size() int

func (*OrganizationUnit) XXX_Unmarshal

func (m *OrganizationUnit) XXX_Unmarshal(b []byte) error

type SerializedIdemixIdentity

type SerializedIdemixIdentity struct {
	NymX []byte `protobuf:"bytes,1,opt,name=nym_x,json=nymX,proto3" json:"nym_x,omitempty"`

	NymY []byte `protobuf:"bytes,2,opt,name=nym_y,json=nymY,proto3" json:"nym_y,omitempty"`

	Ou []byte `protobuf:"bytes,3,opt,name=ou,proto3" json:"ou,omitempty"`

	Role []byte `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`

	Proof                []byte   `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SerializedIdemixIdentity) Descriptor

func (*SerializedIdemixIdentity) Descriptor() ([]byte, []int)

func (*SerializedIdemixIdentity) GetNymX

func (m *SerializedIdemixIdentity) GetNymX() []byte

func (*SerializedIdemixIdentity) GetNymY

func (m *SerializedIdemixIdentity) GetNymY() []byte

func (*SerializedIdemixIdentity) GetOu

func (m *SerializedIdemixIdentity) GetOu() []byte

func (*SerializedIdemixIdentity) GetProof

func (m *SerializedIdemixIdentity) GetProof() []byte

func (*SerializedIdemixIdentity) GetRole

func (m *SerializedIdemixIdentity) GetRole() []byte

func (*SerializedIdemixIdentity) ProtoMessage

func (*SerializedIdemixIdentity) ProtoMessage()

func (*SerializedIdemixIdentity) Reset

func (m *SerializedIdemixIdentity) Reset()

func (*SerializedIdemixIdentity) String

func (m *SerializedIdemixIdentity) String() string

func (*SerializedIdemixIdentity) XXX_DiscardUnknown

func (m *SerializedIdemixIdentity) XXX_DiscardUnknown()

func (*SerializedIdemixIdentity) XXX_Marshal

func (m *SerializedIdemixIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SerializedIdemixIdentity) XXX_Merge

func (m *SerializedIdemixIdentity) XXX_Merge(src proto.Message)

func (*SerializedIdemixIdentity) XXX_Size

func (m *SerializedIdemixIdentity) XXX_Size() int

func (*SerializedIdemixIdentity) XXX_Unmarshal

func (m *SerializedIdemixIdentity) XXX_Unmarshal(b []byte) error

type SerializedIdentity

type SerializedIdentity struct {
	Mspid string `protobuf:"bytes,1,opt,name=mspid,proto3" json:"mspid,omitempty"`

	IdBytes              []byte   `protobuf:"bytes,2,opt,name=id_bytes,json=idBytes,proto3" json:"id_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SerializedIdentity) Descriptor

func (*SerializedIdentity) Descriptor() ([]byte, []int)

func (*SerializedIdentity) GetIdBytes

func (m *SerializedIdentity) GetIdBytes() []byte

func (*SerializedIdentity) GetMspid

func (m *SerializedIdentity) GetMspid() string

func (*SerializedIdentity) ProtoMessage

func (*SerializedIdentity) ProtoMessage()

func (*SerializedIdentity) Reset

func (m *SerializedIdentity) Reset()

func (*SerializedIdentity) String

func (m *SerializedIdentity) String() string

func (*SerializedIdentity) XXX_DiscardUnknown

func (m *SerializedIdentity) XXX_DiscardUnknown()

func (*SerializedIdentity) XXX_Marshal

func (m *SerializedIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SerializedIdentity) XXX_Merge

func (m *SerializedIdentity) XXX_Merge(src proto.Message)

func (*SerializedIdentity) XXX_Size

func (m *SerializedIdentity) XXX_Size() int

func (*SerializedIdentity) XXX_Unmarshal

func (m *SerializedIdentity) XXX_Unmarshal(b []byte) error

type SigningIdentityInfo

type SigningIdentityInfo struct {
	PublicSigner []byte `protobuf:"bytes,1,opt,name=public_signer,json=publicSigner,proto3" json:"public_signer,omitempty"`

	PrivateSigner        *KeyInfo `protobuf:"bytes,2,opt,name=private_signer,json=privateSigner,proto3" json:"private_signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SigningIdentityInfo) Descriptor

func (*SigningIdentityInfo) Descriptor() ([]byte, []int)

func (*SigningIdentityInfo) GetPrivateSigner

func (m *SigningIdentityInfo) GetPrivateSigner() *KeyInfo

func (*SigningIdentityInfo) GetPublicSigner

func (m *SigningIdentityInfo) GetPublicSigner() []byte

func (*SigningIdentityInfo) ProtoMessage

func (*SigningIdentityInfo) ProtoMessage()

func (*SigningIdentityInfo) Reset

func (m *SigningIdentityInfo) Reset()

func (*SigningIdentityInfo) String

func (m *SigningIdentityInfo) String() string

func (*SigningIdentityInfo) XXX_DiscardUnknown

func (m *SigningIdentityInfo) XXX_DiscardUnknown()

func (*SigningIdentityInfo) XXX_Marshal

func (m *SigningIdentityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigningIdentityInfo) XXX_Merge

func (m *SigningIdentityInfo) XXX_Merge(src proto.Message)

func (*SigningIdentityInfo) XXX_Size

func (m *SigningIdentityInfo) XXX_Size() int

func (*SigningIdentityInfo) XXX_Unmarshal

func (m *SigningIdentityInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL