identity

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrollRequest

type EnrollRequest struct {
	Name    string `json:"name"`
	Secret  string `json:"secret"`
	CAName  string `json:"caname"`
	Profile string `json:"profile"`
	CSR     string `json:"csr"`
}

type Identity

type Identity struct {
	RegisterResponse
	MaxEnrollments int    `json:"maxEnrollments"`
	Type           string `json:"type"`
	Affiliation    string `json:"affiliation"`
	CAName         string `json:"caname"`
	Organization   string `json:"organization,omitempty"`
	MSPID          string `json:"mspId,omitempty"`
	EnrollmentCert []byte `json:"enrollmentCert,omitempty"`
	CACert         []byte `json:"caCert,omitempty"`
}

type IdentityResponse

type IdentityResponse struct {
	Name    string `json:"name"`
	Success bool   `json:"success"`
}

type RegisterResponse

type RegisterResponse struct {
	Name   string `json:"name"`
	Secret string `json:"secret,omitempty"`
}

Jump to

Keyboard shortcuts

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