types

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name.
	ModuleName = "pki"

	// StoreKey defines the primary module store key.
	StoreKey = ModuleName

	// RouterKey is the message route for slashing.
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key.
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key.
	MemStoreKey = "mem_pki"
)
View Source
const (
	ApprovedRootCertificatesKeyPrefix = "ApprovedRootCertificates/value/"
	RevokedRootCertificatesKeyPrefix  = "RevokedRootCertificates/value/"
)
View Source
const (
	// ApprovedCertificatesBySubjectKeyPrefix is the prefix to retrieve all ApprovedCertificatesBySubject.
	ApprovedCertificatesBySubjectKeyPrefix = "ApprovedCertificatesBySubject/value/"
)
View Source
const (
	// ApprovedCertificatesKeyPrefix is the prefix to retrieve all ApprovedCertificates.
	ApprovedCertificatesKeyPrefix = "ApprovedCertificates/value/"
)
View Source
const (
	// ChildCertificatesKeyPrefix is the prefix to retrieve all ChildCertificates.
	ChildCertificatesKeyPrefix = "ChildCertificates/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index.

View Source
const (
	// ProposedCertificateKeyPrefix is the prefix to retrieve all ProposedCertificate.
	ProposedCertificateKeyPrefix = "ProposedCertificate/value/"
)
View Source
const (
	// ProposedCertificateRevocationKeyPrefix is the prefix to retrieve all ProposedCertificateRevocation.
	ProposedCertificateRevocationKeyPrefix = "ProposedCertificateRevocation/value/"
)
View Source
const (
	// RevokedCertificatesKeyPrefix is the prefix to retrieve all RevokedCertificates.
	RevokedCertificatesKeyPrefix = "RevokedCertificates/value/"
)
View Source
const TypeMsgAddX509Cert = "add_x_509_cert"
View Source
const TypeMsgApproveAddX509RootCert = "approve_add_x_509_root_cert"
View Source
const TypeMsgApproveRevokeX509RootCert = "approve_revoke_x_509_root_cert"
View Source
const TypeMsgProposeAddX509RootCert = "propose_add_x_509_root_cert"
View Source
const TypeMsgProposeRevokeX509RootCert = "propose_revoke_x_509_root_cert"
View Source
const TypeMsgRevokeX509Cert = "revoke_x_509_cert"
View Source
const (
	// UniqueCertificateKeyPrefix is the prefix to retrieve all UniqueCertificate.
	UniqueCertificateKeyPrefix = "UniqueCertificate/value/"
)

Variables

View Source
var (
	ErrInvalidLengthApprovedCertificates        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApprovedCertificates          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApprovedCertificates = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthApprovedCertificatesBySubject        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApprovedCertificatesBySubject          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApprovedCertificatesBySubject = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthApprovedRootCertificates        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApprovedRootCertificates          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApprovedRootCertificates = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCertificate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCertificate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCertificate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCertificateIdentifier        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCertificateIdentifier          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCertificateIdentifier = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthChildCertificates        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChildCertificates          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChildCertificates = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrProposedCertificateAlreadyExists           = sdkerrors.Register(ModuleName, 401, "proposed certificate already exists")
	ErrProposedCertificateDoesNotExist            = sdkerrors.Register(ModuleName, 402, "proposed certificate does not exist")
	ErrCertificateAlreadyExists                   = sdkerrors.Register(ModuleName, 403, "certificate already exists")
	ErrCertificateDoesNotExist                    = sdkerrors.Register(ModuleName, 404, "certificate does not exist")
	ErrProposedCertificateRevocationAlreadyExists = sdkerrors.Register(ModuleName, 405, "proposed certificate revocation already exists")
	ErrProposedCertificateRevocationDoesNotExist  = sdkerrors.Register(ModuleName, 406, "proposed certificate revocation does not exist")
	ErrRevokedCertificateDoesNotExist             = sdkerrors.Register(ModuleName, 407, "revoked certificate does not exist")
	ErrInappropriateCertificateType               = sdkerrors.Register(ModuleName, 408, "inappropriate certificate type")
	ErrInvalidCertificate                         = sdkerrors.Register(ModuleName, 409, "invalid certificate")
)

x/pki module sentinel errors.

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGrant        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGrant          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGrant = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ApprovedRootCertificatesKey = []byte{0}
	RevokedRootCertificatesKey  = []byte{0}
)
View Source
var (
	ErrInvalidLengthProposedCertificate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposedCertificate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposedCertificate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProposedCertificateRevocation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposedCertificateRevocation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposedCertificateRevocation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRevokedCertificates        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRevokedCertificates          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRevokedCertificates = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRevokedRootCertificates        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRevokedRootCertificates          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRevokedRootCertificates = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	RootCertificateApprovalsPercent = 0.66
	RootCertificateApprovalRole     = dclauthtypes.Trustee
)

TODO: 1. Move it to separate module 2. Make it configurable 3. Save into store.

View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUniqueCertificate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUniqueCertificate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUniqueCertificate = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ApprovedCertificatesBySubjectKey

func ApprovedCertificatesBySubjectKey(
	subject string,
) []byte

ApprovedCertificatesBySubjectKey returns the store key to retrieve a ApprovedCertificatesBySubject from the index fields.

func ApprovedCertificatesKey

func ApprovedCertificatesKey(
	subject string,
	subjectKeyID string,
) []byte

ApprovedCertificatesKey returns the store key to retrieve a ApprovedCertificates from the index fields.

func ChildCertificatesKey

func ChildCertificatesKey(
	issuer string,
	authorityKeyID string,
) []byte

ChildCertificatesKey returns the store key to retrieve a ChildCertificates from the index fields.

func KeyPrefix

func KeyPrefix(p string) []byte

func NewErrCertificateAlreadyExists

func NewErrCertificateAlreadyExists(issuer string, serialNumber string) error

func NewErrCertificateDoesNotExist

func NewErrCertificateDoesNotExist(subject string, subjectKeyID string) error

func NewErrInappropriateCertificateType

func NewErrInappropriateCertificateType(e interface{}) error

func NewErrInvalidCertificate

func NewErrInvalidCertificate(e interface{}) error

func NewErrProposedCertificateAlreadyExists

func NewErrProposedCertificateAlreadyExists(subject string, subjectKeyID string) error

func NewErrProposedCertificateDoesNotExist

func NewErrProposedCertificateDoesNotExist(subject string, subjectKeyID string) error

func NewErrProposedCertificateRevocationAlreadyExists

func NewErrProposedCertificateRevocationAlreadyExists(subject string, subjectKeyID string) error

func NewErrProposedCertificateRevocationDoesNotExist

func NewErrProposedCertificateRevocationDoesNotExist(subject string, subjectKeyID string) error

func NewErrRevokedCertificateDoesNotExist

func NewErrRevokedCertificateDoesNotExist(subject string, subjectKeyID string) error

func ProposedCertificateKey

func ProposedCertificateKey(
	subject string,
	subjectKeyID string,
) []byte

ProposedCertificateKey returns the store key to retrieve a ProposedCertificate from the index fields.

func ProposedCertificateRevocationKey

func ProposedCertificateRevocationKey(
	subject string,
	subjectKeyID string,
) []byte

ProposedCertificateRevocationKey returns the store key to retrieve a ProposedCertificateRevocation from the index fields.

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RevokedCertificatesKey

func RevokedCertificatesKey(
	subject string,
	subjectKeyID string,
) []byte

RevokedCertificatesKey returns the store key to retrieve a RevokedCertificates from the index fields.

func UniqueCertificateKey

func UniqueCertificateKey(
	issuer string,
	serialNumber string,
) []byte

UniqueCertificateKey returns the store key to retrieve a UniqueCertificate from the index fields.

Types

type ApprovedCertificates

type ApprovedCertificates struct {
	Subject      string         `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string         `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
	Certs        []*Certificate `protobuf:"bytes,3,rep,name=certs,proto3" json:"certs,omitempty"`
}

func (*ApprovedCertificates) Descriptor

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

func (*ApprovedCertificates) GetCerts

func (m *ApprovedCertificates) GetCerts() []*Certificate

func (*ApprovedCertificates) GetSubject

func (m *ApprovedCertificates) GetSubject() string

func (*ApprovedCertificates) GetSubjectKeyId

func (m *ApprovedCertificates) GetSubjectKeyId() string

func (*ApprovedCertificates) Marshal

func (m *ApprovedCertificates) Marshal() (dAtA []byte, err error)

func (*ApprovedCertificates) MarshalTo

func (m *ApprovedCertificates) MarshalTo(dAtA []byte) (int, error)

func (*ApprovedCertificates) MarshalToSizedBuffer

func (m *ApprovedCertificates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApprovedCertificates) ProtoMessage

func (*ApprovedCertificates) ProtoMessage()

func (*ApprovedCertificates) Reset

func (m *ApprovedCertificates) Reset()

func (*ApprovedCertificates) Size

func (m *ApprovedCertificates) Size() (n int)

func (*ApprovedCertificates) String

func (m *ApprovedCertificates) String() string

func (*ApprovedCertificates) Unmarshal

func (m *ApprovedCertificates) Unmarshal(dAtA []byte) error

func (*ApprovedCertificates) XXX_DiscardUnknown

func (m *ApprovedCertificates) XXX_DiscardUnknown()

func (*ApprovedCertificates) XXX_Marshal

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

func (*ApprovedCertificates) XXX_Merge

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

func (*ApprovedCertificates) XXX_Size

func (m *ApprovedCertificates) XXX_Size() int

func (*ApprovedCertificates) XXX_Unmarshal

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

type ApprovedCertificatesBySubject

type ApprovedCertificatesBySubject struct {
	Subject       string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyIds []string `protobuf:"bytes,2,rep,name=subjectKeyIds,proto3" json:"subjectKeyIds,omitempty"`
}

func (*ApprovedCertificatesBySubject) Descriptor

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

func (*ApprovedCertificatesBySubject) GetSubject

func (m *ApprovedCertificatesBySubject) GetSubject() string

func (*ApprovedCertificatesBySubject) GetSubjectKeyIds

func (m *ApprovedCertificatesBySubject) GetSubjectKeyIds() []string

func (*ApprovedCertificatesBySubject) Marshal

func (m *ApprovedCertificatesBySubject) Marshal() (dAtA []byte, err error)

func (*ApprovedCertificatesBySubject) MarshalTo

func (m *ApprovedCertificatesBySubject) MarshalTo(dAtA []byte) (int, error)

func (*ApprovedCertificatesBySubject) MarshalToSizedBuffer

func (m *ApprovedCertificatesBySubject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApprovedCertificatesBySubject) ProtoMessage

func (*ApprovedCertificatesBySubject) ProtoMessage()

func (*ApprovedCertificatesBySubject) Reset

func (m *ApprovedCertificatesBySubject) Reset()

func (*ApprovedCertificatesBySubject) Size

func (m *ApprovedCertificatesBySubject) Size() (n int)

func (*ApprovedCertificatesBySubject) String

func (*ApprovedCertificatesBySubject) Unmarshal

func (m *ApprovedCertificatesBySubject) Unmarshal(dAtA []byte) error

func (*ApprovedCertificatesBySubject) XXX_DiscardUnknown

func (m *ApprovedCertificatesBySubject) XXX_DiscardUnknown()

func (*ApprovedCertificatesBySubject) XXX_Marshal

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

func (*ApprovedCertificatesBySubject) XXX_Merge

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

func (*ApprovedCertificatesBySubject) XXX_Size

func (m *ApprovedCertificatesBySubject) XXX_Size() int

func (*ApprovedCertificatesBySubject) XXX_Unmarshal

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

type ApprovedRootCertificates

type ApprovedRootCertificates struct {
	Certs []*CertificateIdentifier `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
}

func (*ApprovedRootCertificates) Descriptor

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

func (*ApprovedRootCertificates) GetCerts

func (*ApprovedRootCertificates) Marshal

func (m *ApprovedRootCertificates) Marshal() (dAtA []byte, err error)

func (*ApprovedRootCertificates) MarshalTo

func (m *ApprovedRootCertificates) MarshalTo(dAtA []byte) (int, error)

func (*ApprovedRootCertificates) MarshalToSizedBuffer

func (m *ApprovedRootCertificates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApprovedRootCertificates) ProtoMessage

func (*ApprovedRootCertificates) ProtoMessage()

func (*ApprovedRootCertificates) Reset

func (m *ApprovedRootCertificates) Reset()

func (*ApprovedRootCertificates) Size

func (m *ApprovedRootCertificates) Size() (n int)

func (*ApprovedRootCertificates) String

func (m *ApprovedRootCertificates) String() string

func (*ApprovedRootCertificates) Unmarshal

func (m *ApprovedRootCertificates) Unmarshal(dAtA []byte) error

func (*ApprovedRootCertificates) XXX_DiscardUnknown

func (m *ApprovedRootCertificates) XXX_DiscardUnknown()

func (*ApprovedRootCertificates) XXX_Marshal

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

func (*ApprovedRootCertificates) XXX_Merge

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

func (*ApprovedRootCertificates) XXX_Size

func (m *ApprovedRootCertificates) XXX_Size() int

func (*ApprovedRootCertificates) XXX_Unmarshal

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

type Certificate

type Certificate struct {
	PemCert          string   `protobuf:"bytes,1,opt,name=pemCert,proto3" json:"pemCert,omitempty"`
	SerialNumber     string   `protobuf:"bytes,2,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	Issuer           string   `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	AuthorityKeyId   string   `protobuf:"bytes,4,opt,name=authorityKeyId,proto3" json:"authorityKeyId,omitempty"`
	RootSubject      string   `protobuf:"bytes,5,opt,name=rootSubject,proto3" json:"rootSubject,omitempty"`
	RootSubjectKeyId string   `protobuf:"bytes,6,opt,name=rootSubjectKeyId,proto3" json:"rootSubjectKeyId,omitempty"`
	IsRoot           bool     `protobuf:"varint,7,opt,name=isRoot,proto3" json:"isRoot,omitempty"`
	Owner            string   `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
	Subject          string   `protobuf:"bytes,9,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId     string   `protobuf:"bytes,10,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
	Approvals        []*Grant `protobuf:"bytes,11,rep,name=approvals,proto3" json:"approvals,omitempty"`
	SubjectAsText    string   `protobuf:"bytes,12,opt,name=subjectAsText,proto3" json:"subjectAsText,omitempty"`
}

func NewNonRootCertificate

func NewNonRootCertificate(pemCert string, subject string, subjectAsText string, subjectKeyID string, serialNumber string,
	issuer string, authorityKeyID string,
	rootSubject string, rootSubjectKeyID string,
	owner string,
) Certificate

func NewRootCertificate

func NewRootCertificate(pemCert string, subject string, subjectAsText string, subjectKeyID string,
	serialNumber string, owner string, approvals []*Grant,
) Certificate

func (*Certificate) Descriptor

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

func (*Certificate) GetApprovals added in v0.7.0

func (m *Certificate) GetApprovals() []*Grant

func (*Certificate) GetAuthorityKeyId

func (m *Certificate) GetAuthorityKeyId() string

func (*Certificate) GetIsRoot

func (m *Certificate) GetIsRoot() bool

func (*Certificate) GetIssuer

func (m *Certificate) GetIssuer() string

func (*Certificate) GetOwner

func (m *Certificate) GetOwner() string

func (*Certificate) GetPemCert

func (m *Certificate) GetPemCert() string

func (*Certificate) GetRootSubject

func (m *Certificate) GetRootSubject() string

func (*Certificate) GetRootSubjectKeyId

func (m *Certificate) GetRootSubjectKeyId() string

func (*Certificate) GetSerialNumber

func (m *Certificate) GetSerialNumber() string

func (*Certificate) GetSubject

func (m *Certificate) GetSubject() string

func (*Certificate) GetSubjectAsText added in v0.10.0

func (m *Certificate) GetSubjectAsText() string

func (*Certificate) GetSubjectKeyId

func (m *Certificate) GetSubjectKeyId() string

func (Certificate) HasApprovalFrom added in v0.8.0

func (cert Certificate) HasApprovalFrom(address string) bool

func (*Certificate) Marshal

func (m *Certificate) Marshal() (dAtA []byte, err error)

func (*Certificate) MarshalTo

func (m *Certificate) MarshalTo(dAtA []byte) (int, error)

func (*Certificate) MarshalToSizedBuffer

func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) Reset

func (m *Certificate) Reset()

func (*Certificate) Size

func (m *Certificate) Size() (n int)

func (*Certificate) String

func (m *Certificate) String() string

func (*Certificate) Unmarshal

func (m *Certificate) Unmarshal(dAtA []byte) error

func (*Certificate) XXX_DiscardUnknown

func (m *Certificate) XXX_DiscardUnknown()

func (*Certificate) XXX_Marshal

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

func (*Certificate) XXX_Merge

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

func (*Certificate) XXX_Size

func (m *Certificate) XXX_Size() int

func (*Certificate) XXX_Unmarshal

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

type CertificateIdentifier

type CertificateIdentifier struct {
	Subject      string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
}

func (*CertificateIdentifier) Descriptor

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

func (*CertificateIdentifier) GetSubject

func (m *CertificateIdentifier) GetSubject() string

func (*CertificateIdentifier) GetSubjectKeyId

func (m *CertificateIdentifier) GetSubjectKeyId() string

func (*CertificateIdentifier) Marshal

func (m *CertificateIdentifier) Marshal() (dAtA []byte, err error)

func (*CertificateIdentifier) MarshalTo

func (m *CertificateIdentifier) MarshalTo(dAtA []byte) (int, error)

func (*CertificateIdentifier) MarshalToSizedBuffer

func (m *CertificateIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertificateIdentifier) ProtoMessage

func (*CertificateIdentifier) ProtoMessage()

func (*CertificateIdentifier) Reset

func (m *CertificateIdentifier) Reset()

func (*CertificateIdentifier) Size

func (m *CertificateIdentifier) Size() (n int)

func (*CertificateIdentifier) String

func (m *CertificateIdentifier) String() string

func (*CertificateIdentifier) Unmarshal

func (m *CertificateIdentifier) Unmarshal(dAtA []byte) error

func (*CertificateIdentifier) XXX_DiscardUnknown

func (m *CertificateIdentifier) XXX_DiscardUnknown()

func (*CertificateIdentifier) XXX_Marshal

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

func (*CertificateIdentifier) XXX_Merge

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

func (*CertificateIdentifier) XXX_Size

func (m *CertificateIdentifier) XXX_Size() int

func (*CertificateIdentifier) XXX_Unmarshal

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

type ChildCertificates

type ChildCertificates struct {
	Issuer         string                   `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	AuthorityKeyId string                   `protobuf:"bytes,2,opt,name=authorityKeyId,proto3" json:"authorityKeyId,omitempty"`
	CertIds        []*CertificateIdentifier `protobuf:"bytes,3,rep,name=certIds,proto3" json:"certIds,omitempty"`
}

func (*ChildCertificates) Descriptor

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

func (*ChildCertificates) GetAuthorityKeyId

func (m *ChildCertificates) GetAuthorityKeyId() string

func (*ChildCertificates) GetCertIds

func (m *ChildCertificates) GetCertIds() []*CertificateIdentifier

func (*ChildCertificates) GetIssuer

func (m *ChildCertificates) GetIssuer() string

func (*ChildCertificates) Marshal

func (m *ChildCertificates) Marshal() (dAtA []byte, err error)

func (*ChildCertificates) MarshalTo

func (m *ChildCertificates) MarshalTo(dAtA []byte) (int, error)

func (*ChildCertificates) MarshalToSizedBuffer

func (m *ChildCertificates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChildCertificates) ProtoMessage

func (*ChildCertificates) ProtoMessage()

func (*ChildCertificates) Reset

func (m *ChildCertificates) Reset()

func (*ChildCertificates) Size

func (m *ChildCertificates) Size() (n int)

func (*ChildCertificates) String

func (m *ChildCertificates) String() string

func (*ChildCertificates) Unmarshal

func (m *ChildCertificates) Unmarshal(dAtA []byte) error

func (*ChildCertificates) XXX_DiscardUnknown

func (m *ChildCertificates) XXX_DiscardUnknown()

func (*ChildCertificates) XXX_Marshal

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

func (*ChildCertificates) XXX_Merge

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

func (*ChildCertificates) XXX_Size

func (m *ChildCertificates) XXX_Size() int

func (*ChildCertificates) XXX_Unmarshal

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

type DclauthKeeper

type DclauthKeeper interface {
	// Methods imported from dclauth should be defined here
	HasRole(ctx sdk.Context, addr sdk.AccAddress, roleToCheck types.AccountRole) bool
	CountAccountsWithRole(ctx sdk.Context, roleToCount types.AccountRole) int
}

type GenesisState

type GenesisState struct {
	ApprovedCertificatesList          []ApprovedCertificates          `protobuf:"bytes,1,rep,name=approvedCertificatesList,proto3" json:"approvedCertificatesList"`
	ProposedCertificateList           []ProposedCertificate           `protobuf:"bytes,2,rep,name=proposedCertificateList,proto3" json:"proposedCertificateList"`
	ChildCertificatesList             []ChildCertificates             `protobuf:"bytes,3,rep,name=childCertificatesList,proto3" json:"childCertificatesList"`
	ProposedCertificateRevocationList []ProposedCertificateRevocation `protobuf:"bytes,4,rep,name=proposedCertificateRevocationList,proto3" json:"proposedCertificateRevocationList"`
	RevokedCertificatesList           []RevokedCertificates           `protobuf:"bytes,5,rep,name=revokedCertificatesList,proto3" json:"revokedCertificatesList"`
	UniqueCertificateList             []UniqueCertificate             `protobuf:"bytes,6,rep,name=uniqueCertificateList,proto3" json:"uniqueCertificateList"`
	ApprovedRootCertificates          *ApprovedRootCertificates       `protobuf:"bytes,7,opt,name=approvedRootCertificates,proto3" json:"approvedRootCertificates,omitempty"`
	RevokedRootCertificates           *RevokedRootCertificates        `protobuf:"bytes,8,opt,name=revokedRootCertificates,proto3" json:"revokedRootCertificates,omitempty"`
	ApprovedCertificatesBySubjectList []ApprovedCertificatesBySubject `protobuf:"bytes,9,rep,name=approvedCertificatesBySubjectList,proto3" json:"approvedCertificatesBySubjectList"`
}

GenesisState defines the pki module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetApprovedCertificatesBySubjectList

func (m *GenesisState) GetApprovedCertificatesBySubjectList() []ApprovedCertificatesBySubject

func (*GenesisState) GetApprovedCertificatesList

func (m *GenesisState) GetApprovedCertificatesList() []ApprovedCertificates

func (*GenesisState) GetApprovedRootCertificates

func (m *GenesisState) GetApprovedRootCertificates() *ApprovedRootCertificates

func (*GenesisState) GetChildCertificatesList

func (m *GenesisState) GetChildCertificatesList() []ChildCertificates

func (*GenesisState) GetProposedCertificateList

func (m *GenesisState) GetProposedCertificateList() []ProposedCertificate

func (*GenesisState) GetProposedCertificateRevocationList

func (m *GenesisState) GetProposedCertificateRevocationList() []ProposedCertificateRevocation

func (*GenesisState) GetRevokedCertificatesList

func (m *GenesisState) GetRevokedCertificatesList() []RevokedCertificates

func (*GenesisState) GetRevokedRootCertificates

func (m *GenesisState) GetRevokedRootCertificates() *RevokedRootCertificates

func (*GenesisState) GetUniqueCertificateList

func (m *GenesisState) GetUniqueCertificateList() []UniqueCertificate

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Grant added in v0.7.0

type Grant struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Time    int64  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Info    string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
}

func (*Grant) Descriptor added in v0.7.0

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

func (*Grant) GetAddress added in v0.7.0

func (m *Grant) GetAddress() string

func (*Grant) GetInfo added in v0.7.0

func (m *Grant) GetInfo() string

func (*Grant) GetTime added in v0.7.0

func (m *Grant) GetTime() int64

func (*Grant) Marshal added in v0.7.0

func (m *Grant) Marshal() (dAtA []byte, err error)

func (*Grant) MarshalTo added in v0.7.0

func (m *Grant) MarshalTo(dAtA []byte) (int, error)

func (*Grant) MarshalToSizedBuffer added in v0.7.0

func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Grant) ProtoMessage added in v0.7.0

func (*Grant) ProtoMessage()

func (*Grant) Reset added in v0.7.0

func (m *Grant) Reset()

func (*Grant) Size added in v0.7.0

func (m *Grant) Size() (n int)

func (*Grant) String added in v0.7.0

func (m *Grant) String() string

func (*Grant) Unmarshal added in v0.7.0

func (m *Grant) Unmarshal(dAtA []byte) error

func (*Grant) XXX_DiscardUnknown added in v0.7.0

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal added in v0.7.0

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

func (*Grant) XXX_Merge added in v0.7.0

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

func (*Grant) XXX_Size added in v0.7.0

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal added in v0.7.0

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

type MsgAddX509Cert

type MsgAddX509Cert struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Cert   string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty" validate:"required,max=10485760"`
	Info   string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time   int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgAddX509Cert

func NewMsgAddX509Cert(signer string, cert string) *MsgAddX509Cert

func (*MsgAddX509Cert) Descriptor

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

func (*MsgAddX509Cert) GetCert

func (m *MsgAddX509Cert) GetCert() string

func (*MsgAddX509Cert) GetInfo added in v0.7.0

func (m *MsgAddX509Cert) GetInfo() string

func (*MsgAddX509Cert) GetSignBytes

func (msg *MsgAddX509Cert) GetSignBytes() []byte

func (*MsgAddX509Cert) GetSigner

func (m *MsgAddX509Cert) GetSigner() string

func (*MsgAddX509Cert) GetSigners

func (msg *MsgAddX509Cert) GetSigners() []sdk.AccAddress

func (*MsgAddX509Cert) GetTime added in v0.7.0

func (m *MsgAddX509Cert) GetTime() int64

func (*MsgAddX509Cert) Marshal

func (m *MsgAddX509Cert) Marshal() (dAtA []byte, err error)

func (*MsgAddX509Cert) MarshalTo

func (m *MsgAddX509Cert) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddX509Cert) MarshalToSizedBuffer

func (m *MsgAddX509Cert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddX509Cert) ProtoMessage

func (*MsgAddX509Cert) ProtoMessage()

func (*MsgAddX509Cert) Reset

func (m *MsgAddX509Cert) Reset()

func (*MsgAddX509Cert) Route

func (msg *MsgAddX509Cert) Route() string

func (*MsgAddX509Cert) Size

func (m *MsgAddX509Cert) Size() (n int)

func (*MsgAddX509Cert) String

func (m *MsgAddX509Cert) String() string

func (*MsgAddX509Cert) Type

func (msg *MsgAddX509Cert) Type() string

func (*MsgAddX509Cert) Unmarshal

func (m *MsgAddX509Cert) Unmarshal(dAtA []byte) error

func (*MsgAddX509Cert) ValidateBasic

func (msg *MsgAddX509Cert) ValidateBasic() error

func (*MsgAddX509Cert) XXX_DiscardUnknown

func (m *MsgAddX509Cert) XXX_DiscardUnknown()

func (*MsgAddX509Cert) XXX_Marshal

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

func (*MsgAddX509Cert) XXX_Merge

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

func (*MsgAddX509Cert) XXX_Size

func (m *MsgAddX509Cert) XXX_Size() int

func (*MsgAddX509Cert) XXX_Unmarshal

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

type MsgAddX509CertResponse

type MsgAddX509CertResponse struct {
}

func (*MsgAddX509CertResponse) Descriptor

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

func (*MsgAddX509CertResponse) Marshal

func (m *MsgAddX509CertResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddX509CertResponse) MarshalTo

func (m *MsgAddX509CertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddX509CertResponse) MarshalToSizedBuffer

func (m *MsgAddX509CertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddX509CertResponse) ProtoMessage

func (*MsgAddX509CertResponse) ProtoMessage()

func (*MsgAddX509CertResponse) Reset

func (m *MsgAddX509CertResponse) Reset()

func (*MsgAddX509CertResponse) Size

func (m *MsgAddX509CertResponse) Size() (n int)

func (*MsgAddX509CertResponse) String

func (m *MsgAddX509CertResponse) String() string

func (*MsgAddX509CertResponse) Unmarshal

func (m *MsgAddX509CertResponse) Unmarshal(dAtA []byte) error

func (*MsgAddX509CertResponse) XXX_DiscardUnknown

func (m *MsgAddX509CertResponse) XXX_DiscardUnknown()

func (*MsgAddX509CertResponse) XXX_Marshal

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

func (*MsgAddX509CertResponse) XXX_Merge

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

func (*MsgAddX509CertResponse) XXX_Size

func (m *MsgAddX509CertResponse) XXX_Size() int

func (*MsgAddX509CertResponse) XXX_Unmarshal

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

type MsgApproveAddX509RootCert

type MsgApproveAddX509RootCert struct {
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Subject      string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty" validate:"required,max=1024"`
	SubjectKeyId string `protobuf:"bytes,3,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty" validate:"required,max=256"`
	Info         string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time         int64  `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgApproveAddX509RootCert

func NewMsgApproveAddX509RootCert(signer string, subject string, subjectKeyID string, info string) *MsgApproveAddX509RootCert

func (*MsgApproveAddX509RootCert) Descriptor

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

func (*MsgApproveAddX509RootCert) GetInfo added in v0.7.0

func (m *MsgApproveAddX509RootCert) GetInfo() string

func (*MsgApproveAddX509RootCert) GetSignBytes

func (msg *MsgApproveAddX509RootCert) GetSignBytes() []byte

func (*MsgApproveAddX509RootCert) GetSigner

func (m *MsgApproveAddX509RootCert) GetSigner() string

func (*MsgApproveAddX509RootCert) GetSigners

func (msg *MsgApproveAddX509RootCert) GetSigners() []sdk.AccAddress

func (*MsgApproveAddX509RootCert) GetSubject

func (m *MsgApproveAddX509RootCert) GetSubject() string

func (*MsgApproveAddX509RootCert) GetSubjectKeyId

func (m *MsgApproveAddX509RootCert) GetSubjectKeyId() string

func (*MsgApproveAddX509RootCert) GetTime added in v0.7.0

func (m *MsgApproveAddX509RootCert) GetTime() int64

func (*MsgApproveAddX509RootCert) Marshal

func (m *MsgApproveAddX509RootCert) Marshal() (dAtA []byte, err error)

func (*MsgApproveAddX509RootCert) MarshalTo

func (m *MsgApproveAddX509RootCert) MarshalTo(dAtA []byte) (int, error)

func (*MsgApproveAddX509RootCert) MarshalToSizedBuffer

func (m *MsgApproveAddX509RootCert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgApproveAddX509RootCert) ProtoMessage

func (*MsgApproveAddX509RootCert) ProtoMessage()

func (*MsgApproveAddX509RootCert) Reset

func (m *MsgApproveAddX509RootCert) Reset()

func (*MsgApproveAddX509RootCert) Route

func (msg *MsgApproveAddX509RootCert) Route() string

func (*MsgApproveAddX509RootCert) Size

func (m *MsgApproveAddX509RootCert) Size() (n int)

func (*MsgApproveAddX509RootCert) String

func (m *MsgApproveAddX509RootCert) String() string

func (*MsgApproveAddX509RootCert) Type

func (msg *MsgApproveAddX509RootCert) Type() string

func (*MsgApproveAddX509RootCert) Unmarshal

func (m *MsgApproveAddX509RootCert) Unmarshal(dAtA []byte) error

func (*MsgApproveAddX509RootCert) ValidateBasic

func (msg *MsgApproveAddX509RootCert) ValidateBasic() error

func (*MsgApproveAddX509RootCert) XXX_DiscardUnknown

func (m *MsgApproveAddX509RootCert) XXX_DiscardUnknown()

func (*MsgApproveAddX509RootCert) XXX_Marshal

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

func (*MsgApproveAddX509RootCert) XXX_Merge

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

func (*MsgApproveAddX509RootCert) XXX_Size

func (m *MsgApproveAddX509RootCert) XXX_Size() int

func (*MsgApproveAddX509RootCert) XXX_Unmarshal

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

type MsgApproveAddX509RootCertResponse

type MsgApproveAddX509RootCertResponse struct {
}

func (*MsgApproveAddX509RootCertResponse) Descriptor

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

func (*MsgApproveAddX509RootCertResponse) Marshal

func (m *MsgApproveAddX509RootCertResponse) Marshal() (dAtA []byte, err error)

func (*MsgApproveAddX509RootCertResponse) MarshalTo

func (m *MsgApproveAddX509RootCertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgApproveAddX509RootCertResponse) MarshalToSizedBuffer

func (m *MsgApproveAddX509RootCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgApproveAddX509RootCertResponse) ProtoMessage

func (*MsgApproveAddX509RootCertResponse) ProtoMessage()

func (*MsgApproveAddX509RootCertResponse) Reset

func (*MsgApproveAddX509RootCertResponse) Size

func (m *MsgApproveAddX509RootCertResponse) Size() (n int)

func (*MsgApproveAddX509RootCertResponse) String

func (*MsgApproveAddX509RootCertResponse) Unmarshal

func (m *MsgApproveAddX509RootCertResponse) Unmarshal(dAtA []byte) error

func (*MsgApproveAddX509RootCertResponse) XXX_DiscardUnknown

func (m *MsgApproveAddX509RootCertResponse) XXX_DiscardUnknown()

func (*MsgApproveAddX509RootCertResponse) XXX_Marshal

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

func (*MsgApproveAddX509RootCertResponse) XXX_Merge

func (*MsgApproveAddX509RootCertResponse) XXX_Size

func (m *MsgApproveAddX509RootCertResponse) XXX_Size() int

func (*MsgApproveAddX509RootCertResponse) XXX_Unmarshal

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

type MsgApproveRevokeX509RootCert

type MsgApproveRevokeX509RootCert struct {
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Subject      string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty" validate:"required,max=1024"`
	SubjectKeyId string `protobuf:"bytes,3,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty" validate:"required,max=256"`
	Info         string `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time         int64  `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgApproveRevokeX509RootCert

func NewMsgApproveRevokeX509RootCert(signer string, subject string, subjectKeyID string, info string) *MsgApproveRevokeX509RootCert

func (*MsgApproveRevokeX509RootCert) Descriptor

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

func (*MsgApproveRevokeX509RootCert) GetInfo added in v0.7.0

func (m *MsgApproveRevokeX509RootCert) GetInfo() string

func (*MsgApproveRevokeX509RootCert) GetSignBytes

func (msg *MsgApproveRevokeX509RootCert) GetSignBytes() []byte

func (*MsgApproveRevokeX509RootCert) GetSigner

func (m *MsgApproveRevokeX509RootCert) GetSigner() string

func (*MsgApproveRevokeX509RootCert) GetSigners

func (msg *MsgApproveRevokeX509RootCert) GetSigners() []sdk.AccAddress

func (*MsgApproveRevokeX509RootCert) GetSubject

func (m *MsgApproveRevokeX509RootCert) GetSubject() string

func (*MsgApproveRevokeX509RootCert) GetSubjectKeyId

func (m *MsgApproveRevokeX509RootCert) GetSubjectKeyId() string

func (*MsgApproveRevokeX509RootCert) GetTime added in v0.7.0

func (m *MsgApproveRevokeX509RootCert) GetTime() int64

func (*MsgApproveRevokeX509RootCert) Marshal

func (m *MsgApproveRevokeX509RootCert) Marshal() (dAtA []byte, err error)

func (*MsgApproveRevokeX509RootCert) MarshalTo

func (m *MsgApproveRevokeX509RootCert) MarshalTo(dAtA []byte) (int, error)

func (*MsgApproveRevokeX509RootCert) MarshalToSizedBuffer

func (m *MsgApproveRevokeX509RootCert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgApproveRevokeX509RootCert) ProtoMessage

func (*MsgApproveRevokeX509RootCert) ProtoMessage()

func (*MsgApproveRevokeX509RootCert) Reset

func (m *MsgApproveRevokeX509RootCert) Reset()

func (*MsgApproveRevokeX509RootCert) Route

func (msg *MsgApproveRevokeX509RootCert) Route() string

func (*MsgApproveRevokeX509RootCert) Size

func (m *MsgApproveRevokeX509RootCert) Size() (n int)

func (*MsgApproveRevokeX509RootCert) String

func (*MsgApproveRevokeX509RootCert) Type

func (*MsgApproveRevokeX509RootCert) Unmarshal

func (m *MsgApproveRevokeX509RootCert) Unmarshal(dAtA []byte) error

func (*MsgApproveRevokeX509RootCert) ValidateBasic

func (msg *MsgApproveRevokeX509RootCert) ValidateBasic() error

func (*MsgApproveRevokeX509RootCert) XXX_DiscardUnknown

func (m *MsgApproveRevokeX509RootCert) XXX_DiscardUnknown()

func (*MsgApproveRevokeX509RootCert) XXX_Marshal

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

func (*MsgApproveRevokeX509RootCert) XXX_Merge

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

func (*MsgApproveRevokeX509RootCert) XXX_Size

func (m *MsgApproveRevokeX509RootCert) XXX_Size() int

func (*MsgApproveRevokeX509RootCert) XXX_Unmarshal

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

type MsgApproveRevokeX509RootCertResponse

type MsgApproveRevokeX509RootCertResponse struct {
}

func (*MsgApproveRevokeX509RootCertResponse) Descriptor

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

func (*MsgApproveRevokeX509RootCertResponse) Marshal

func (m *MsgApproveRevokeX509RootCertResponse) Marshal() (dAtA []byte, err error)

func (*MsgApproveRevokeX509RootCertResponse) MarshalTo

func (m *MsgApproveRevokeX509RootCertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgApproveRevokeX509RootCertResponse) MarshalToSizedBuffer

func (m *MsgApproveRevokeX509RootCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgApproveRevokeX509RootCertResponse) ProtoMessage

func (*MsgApproveRevokeX509RootCertResponse) ProtoMessage()

func (*MsgApproveRevokeX509RootCertResponse) Reset

func (*MsgApproveRevokeX509RootCertResponse) Size

func (*MsgApproveRevokeX509RootCertResponse) String

func (*MsgApproveRevokeX509RootCertResponse) Unmarshal

func (m *MsgApproveRevokeX509RootCertResponse) Unmarshal(dAtA []byte) error

func (*MsgApproveRevokeX509RootCertResponse) XXX_DiscardUnknown

func (m *MsgApproveRevokeX509RootCertResponse) XXX_DiscardUnknown()

func (*MsgApproveRevokeX509RootCertResponse) XXX_Marshal

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

func (*MsgApproveRevokeX509RootCertResponse) XXX_Merge

func (*MsgApproveRevokeX509RootCertResponse) XXX_Size

func (*MsgApproveRevokeX509RootCertResponse) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgProposeAddX509RootCert

type MsgProposeAddX509RootCert struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Cert   string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty" validate:"required,max=10485760"`
	Info   string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time   int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgProposeAddX509RootCert

func NewMsgProposeAddX509RootCert(signer string, cert string, info string) *MsgProposeAddX509RootCert

func (*MsgProposeAddX509RootCert) Descriptor

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

func (*MsgProposeAddX509RootCert) GetCert

func (m *MsgProposeAddX509RootCert) GetCert() string

func (*MsgProposeAddX509RootCert) GetInfo added in v0.7.0

func (m *MsgProposeAddX509RootCert) GetInfo() string

func (*MsgProposeAddX509RootCert) GetSignBytes

func (msg *MsgProposeAddX509RootCert) GetSignBytes() []byte

func (*MsgProposeAddX509RootCert) GetSigner

func (m *MsgProposeAddX509RootCert) GetSigner() string

func (*MsgProposeAddX509RootCert) GetSigners

func (msg *MsgProposeAddX509RootCert) GetSigners() []sdk.AccAddress

func (*MsgProposeAddX509RootCert) GetTime added in v0.7.0

func (m *MsgProposeAddX509RootCert) GetTime() int64

func (*MsgProposeAddX509RootCert) Marshal

func (m *MsgProposeAddX509RootCert) Marshal() (dAtA []byte, err error)

func (*MsgProposeAddX509RootCert) MarshalTo

func (m *MsgProposeAddX509RootCert) MarshalTo(dAtA []byte) (int, error)

func (*MsgProposeAddX509RootCert) MarshalToSizedBuffer

func (m *MsgProposeAddX509RootCert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgProposeAddX509RootCert) ProtoMessage

func (*MsgProposeAddX509RootCert) ProtoMessage()

func (*MsgProposeAddX509RootCert) Reset

func (m *MsgProposeAddX509RootCert) Reset()

func (*MsgProposeAddX509RootCert) Route

func (msg *MsgProposeAddX509RootCert) Route() string

func (*MsgProposeAddX509RootCert) Size

func (m *MsgProposeAddX509RootCert) Size() (n int)

func (*MsgProposeAddX509RootCert) String

func (m *MsgProposeAddX509RootCert) String() string

func (*MsgProposeAddX509RootCert) Type

func (msg *MsgProposeAddX509RootCert) Type() string

func (*MsgProposeAddX509RootCert) Unmarshal

func (m *MsgProposeAddX509RootCert) Unmarshal(dAtA []byte) error

func (*MsgProposeAddX509RootCert) ValidateBasic

func (msg *MsgProposeAddX509RootCert) ValidateBasic() error

func (*MsgProposeAddX509RootCert) XXX_DiscardUnknown

func (m *MsgProposeAddX509RootCert) XXX_DiscardUnknown()

func (*MsgProposeAddX509RootCert) XXX_Marshal

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

func (*MsgProposeAddX509RootCert) XXX_Merge

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

func (*MsgProposeAddX509RootCert) XXX_Size

func (m *MsgProposeAddX509RootCert) XXX_Size() int

func (*MsgProposeAddX509RootCert) XXX_Unmarshal

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

type MsgProposeAddX509RootCertResponse

type MsgProposeAddX509RootCertResponse struct {
}

func (*MsgProposeAddX509RootCertResponse) Descriptor

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

func (*MsgProposeAddX509RootCertResponse) Marshal

func (m *MsgProposeAddX509RootCertResponse) Marshal() (dAtA []byte, err error)

func (*MsgProposeAddX509RootCertResponse) MarshalTo

func (m *MsgProposeAddX509RootCertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgProposeAddX509RootCertResponse) MarshalToSizedBuffer

func (m *MsgProposeAddX509RootCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgProposeAddX509RootCertResponse) ProtoMessage

func (*MsgProposeAddX509RootCertResponse) ProtoMessage()

func (*MsgProposeAddX509RootCertResponse) Reset

func (*MsgProposeAddX509RootCertResponse) Size

func (m *MsgProposeAddX509RootCertResponse) Size() (n int)

func (*MsgProposeAddX509RootCertResponse) String

func (*MsgProposeAddX509RootCertResponse) Unmarshal

func (m *MsgProposeAddX509RootCertResponse) Unmarshal(dAtA []byte) error

func (*MsgProposeAddX509RootCertResponse) XXX_DiscardUnknown

func (m *MsgProposeAddX509RootCertResponse) XXX_DiscardUnknown()

func (*MsgProposeAddX509RootCertResponse) XXX_Marshal

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

func (*MsgProposeAddX509RootCertResponse) XXX_Merge

func (*MsgProposeAddX509RootCertResponse) XXX_Size

func (m *MsgProposeAddX509RootCertResponse) XXX_Size() int

func (*MsgProposeAddX509RootCertResponse) XXX_Unmarshal

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

type MsgProposeRevokeX509RootCert

type MsgProposeRevokeX509RootCert struct {
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Subject      string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty" validate:"required,max=1024"`
	SubjectKeyId string `protobuf:"bytes,3,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty" validate:"required,max=256"`
	Info         string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time         int64  `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgProposeRevokeX509RootCert

func NewMsgProposeRevokeX509RootCert(signer string, subject string, subjectKeyID string, info string) *MsgProposeRevokeX509RootCert

func (*MsgProposeRevokeX509RootCert) Descriptor

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

func (*MsgProposeRevokeX509RootCert) GetInfo added in v0.7.0

func (m *MsgProposeRevokeX509RootCert) GetInfo() string

func (*MsgProposeRevokeX509RootCert) GetSignBytes

func (msg *MsgProposeRevokeX509RootCert) GetSignBytes() []byte

func (*MsgProposeRevokeX509RootCert) GetSigner

func (m *MsgProposeRevokeX509RootCert) GetSigner() string

func (*MsgProposeRevokeX509RootCert) GetSigners

func (msg *MsgProposeRevokeX509RootCert) GetSigners() []sdk.AccAddress

func (*MsgProposeRevokeX509RootCert) GetSubject

func (m *MsgProposeRevokeX509RootCert) GetSubject() string

func (*MsgProposeRevokeX509RootCert) GetSubjectKeyId

func (m *MsgProposeRevokeX509RootCert) GetSubjectKeyId() string

func (*MsgProposeRevokeX509RootCert) GetTime added in v0.7.0

func (m *MsgProposeRevokeX509RootCert) GetTime() int64

func (*MsgProposeRevokeX509RootCert) Marshal

func (m *MsgProposeRevokeX509RootCert) Marshal() (dAtA []byte, err error)

func (*MsgProposeRevokeX509RootCert) MarshalTo

func (m *MsgProposeRevokeX509RootCert) MarshalTo(dAtA []byte) (int, error)

func (*MsgProposeRevokeX509RootCert) MarshalToSizedBuffer

func (m *MsgProposeRevokeX509RootCert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgProposeRevokeX509RootCert) ProtoMessage

func (*MsgProposeRevokeX509RootCert) ProtoMessage()

func (*MsgProposeRevokeX509RootCert) Reset

func (m *MsgProposeRevokeX509RootCert) Reset()

func (*MsgProposeRevokeX509RootCert) Route

func (msg *MsgProposeRevokeX509RootCert) Route() string

func (*MsgProposeRevokeX509RootCert) Size

func (m *MsgProposeRevokeX509RootCert) Size() (n int)

func (*MsgProposeRevokeX509RootCert) String

func (*MsgProposeRevokeX509RootCert) Type

func (*MsgProposeRevokeX509RootCert) Unmarshal

func (m *MsgProposeRevokeX509RootCert) Unmarshal(dAtA []byte) error

func (*MsgProposeRevokeX509RootCert) ValidateBasic

func (msg *MsgProposeRevokeX509RootCert) ValidateBasic() error

func (*MsgProposeRevokeX509RootCert) XXX_DiscardUnknown

func (m *MsgProposeRevokeX509RootCert) XXX_DiscardUnknown()

func (*MsgProposeRevokeX509RootCert) XXX_Marshal

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

func (*MsgProposeRevokeX509RootCert) XXX_Merge

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

func (*MsgProposeRevokeX509RootCert) XXX_Size

func (m *MsgProposeRevokeX509RootCert) XXX_Size() int

func (*MsgProposeRevokeX509RootCert) XXX_Unmarshal

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

type MsgProposeRevokeX509RootCertResponse

type MsgProposeRevokeX509RootCertResponse struct {
}

func (*MsgProposeRevokeX509RootCertResponse) Descriptor

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

func (*MsgProposeRevokeX509RootCertResponse) Marshal

func (m *MsgProposeRevokeX509RootCertResponse) Marshal() (dAtA []byte, err error)

func (*MsgProposeRevokeX509RootCertResponse) MarshalTo

func (m *MsgProposeRevokeX509RootCertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgProposeRevokeX509RootCertResponse) MarshalToSizedBuffer

func (m *MsgProposeRevokeX509RootCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgProposeRevokeX509RootCertResponse) ProtoMessage

func (*MsgProposeRevokeX509RootCertResponse) ProtoMessage()

func (*MsgProposeRevokeX509RootCertResponse) Reset

func (*MsgProposeRevokeX509RootCertResponse) Size

func (*MsgProposeRevokeX509RootCertResponse) String

func (*MsgProposeRevokeX509RootCertResponse) Unmarshal

func (m *MsgProposeRevokeX509RootCertResponse) Unmarshal(dAtA []byte) error

func (*MsgProposeRevokeX509RootCertResponse) XXX_DiscardUnknown

func (m *MsgProposeRevokeX509RootCertResponse) XXX_DiscardUnknown()

func (*MsgProposeRevokeX509RootCertResponse) XXX_Marshal

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

func (*MsgProposeRevokeX509RootCertResponse) XXX_Merge

func (*MsgProposeRevokeX509RootCertResponse) XXX_Size

func (*MsgProposeRevokeX509RootCertResponse) XXX_Unmarshal

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

type MsgRevokeX509Cert

type MsgRevokeX509Cert struct {
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Subject      string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty" validate:"required,max=1024"`
	SubjectKeyId string `protobuf:"bytes,3,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty" validate:"required,max=256"`
	Info         string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time         int64  `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgRevokeX509Cert

func NewMsgRevokeX509Cert(signer string, subject string, subjectKeyID string, info string) *MsgRevokeX509Cert

func (*MsgRevokeX509Cert) Descriptor

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

func (*MsgRevokeX509Cert) GetInfo added in v0.7.0

func (m *MsgRevokeX509Cert) GetInfo() string

func (*MsgRevokeX509Cert) GetSignBytes

func (msg *MsgRevokeX509Cert) GetSignBytes() []byte

func (*MsgRevokeX509Cert) GetSigner

func (m *MsgRevokeX509Cert) GetSigner() string

func (*MsgRevokeX509Cert) GetSigners

func (msg *MsgRevokeX509Cert) GetSigners() []sdk.AccAddress

func (*MsgRevokeX509Cert) GetSubject

func (m *MsgRevokeX509Cert) GetSubject() string

func (*MsgRevokeX509Cert) GetSubjectKeyId

func (m *MsgRevokeX509Cert) GetSubjectKeyId() string

func (*MsgRevokeX509Cert) GetTime added in v0.7.0

func (m *MsgRevokeX509Cert) GetTime() int64

func (*MsgRevokeX509Cert) Marshal

func (m *MsgRevokeX509Cert) Marshal() (dAtA []byte, err error)

func (*MsgRevokeX509Cert) MarshalTo

func (m *MsgRevokeX509Cert) MarshalTo(dAtA []byte) (int, error)

func (*MsgRevokeX509Cert) MarshalToSizedBuffer

func (m *MsgRevokeX509Cert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRevokeX509Cert) ProtoMessage

func (*MsgRevokeX509Cert) ProtoMessage()

func (*MsgRevokeX509Cert) Reset

func (m *MsgRevokeX509Cert) Reset()

func (*MsgRevokeX509Cert) Route

func (msg *MsgRevokeX509Cert) Route() string

func (*MsgRevokeX509Cert) Size

func (m *MsgRevokeX509Cert) Size() (n int)

func (*MsgRevokeX509Cert) String

func (m *MsgRevokeX509Cert) String() string

func (*MsgRevokeX509Cert) Type

func (msg *MsgRevokeX509Cert) Type() string

func (*MsgRevokeX509Cert) Unmarshal

func (m *MsgRevokeX509Cert) Unmarshal(dAtA []byte) error

func (*MsgRevokeX509Cert) ValidateBasic

func (msg *MsgRevokeX509Cert) ValidateBasic() error

func (*MsgRevokeX509Cert) XXX_DiscardUnknown

func (m *MsgRevokeX509Cert) XXX_DiscardUnknown()

func (*MsgRevokeX509Cert) XXX_Marshal

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

func (*MsgRevokeX509Cert) XXX_Merge

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

func (*MsgRevokeX509Cert) XXX_Size

func (m *MsgRevokeX509Cert) XXX_Size() int

func (*MsgRevokeX509Cert) XXX_Unmarshal

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

type MsgRevokeX509CertResponse

type MsgRevokeX509CertResponse struct {
}

func (*MsgRevokeX509CertResponse) Descriptor

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

func (*MsgRevokeX509CertResponse) Marshal

func (m *MsgRevokeX509CertResponse) Marshal() (dAtA []byte, err error)

func (*MsgRevokeX509CertResponse) MarshalTo

func (m *MsgRevokeX509CertResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRevokeX509CertResponse) MarshalToSizedBuffer

func (m *MsgRevokeX509CertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRevokeX509CertResponse) ProtoMessage

func (*MsgRevokeX509CertResponse) ProtoMessage()

func (*MsgRevokeX509CertResponse) Reset

func (m *MsgRevokeX509CertResponse) Reset()

func (*MsgRevokeX509CertResponse) Size

func (m *MsgRevokeX509CertResponse) Size() (n int)

func (*MsgRevokeX509CertResponse) String

func (m *MsgRevokeX509CertResponse) String() string

func (*MsgRevokeX509CertResponse) Unmarshal

func (m *MsgRevokeX509CertResponse) Unmarshal(dAtA []byte) error

func (*MsgRevokeX509CertResponse) XXX_DiscardUnknown

func (m *MsgRevokeX509CertResponse) XXX_DiscardUnknown()

func (*MsgRevokeX509CertResponse) XXX_Marshal

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

func (*MsgRevokeX509CertResponse) XXX_Merge

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

func (*MsgRevokeX509CertResponse) XXX_Size

func (m *MsgRevokeX509CertResponse) XXX_Size() int

func (*MsgRevokeX509CertResponse) XXX_Unmarshal

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

type ProposedCertificate

type ProposedCertificate struct {
	Subject       string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId  string   `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
	PemCert       string   `protobuf:"bytes,3,opt,name=pemCert,proto3" json:"pemCert,omitempty"`
	SerialNumber  string   `protobuf:"bytes,4,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	Owner         string   `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	Approvals     []*Grant `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"`
	SubjectAsText string   `protobuf:"bytes,7,opt,name=subjectAsText,proto3" json:"subjectAsText,omitempty"`
}

func (*ProposedCertificate) Descriptor

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

func (*ProposedCertificate) GetApprovals

func (m *ProposedCertificate) GetApprovals() []*Grant

func (*ProposedCertificate) GetOwner

func (m *ProposedCertificate) GetOwner() string

func (*ProposedCertificate) GetPemCert

func (m *ProposedCertificate) GetPemCert() string

func (*ProposedCertificate) GetSerialNumber

func (m *ProposedCertificate) GetSerialNumber() string

func (*ProposedCertificate) GetSubject

func (m *ProposedCertificate) GetSubject() string

func (*ProposedCertificate) GetSubjectAsText added in v0.10.0

func (m *ProposedCertificate) GetSubjectAsText() string

func (*ProposedCertificate) GetSubjectKeyId

func (m *ProposedCertificate) GetSubjectKeyId() string

func (ProposedCertificate) HasApprovalFrom

func (cert ProposedCertificate) HasApprovalFrom(address string) bool

func (*ProposedCertificate) Marshal

func (m *ProposedCertificate) Marshal() (dAtA []byte, err error)

func (*ProposedCertificate) MarshalTo

func (m *ProposedCertificate) MarshalTo(dAtA []byte) (int, error)

func (*ProposedCertificate) MarshalToSizedBuffer

func (m *ProposedCertificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProposedCertificate) ProtoMessage

func (*ProposedCertificate) ProtoMessage()

func (*ProposedCertificate) Reset

func (m *ProposedCertificate) Reset()

func (*ProposedCertificate) Size

func (m *ProposedCertificate) Size() (n int)

func (*ProposedCertificate) String

func (m *ProposedCertificate) String() string

func (*ProposedCertificate) Unmarshal

func (m *ProposedCertificate) Unmarshal(dAtA []byte) error

func (*ProposedCertificate) XXX_DiscardUnknown

func (m *ProposedCertificate) XXX_DiscardUnknown()

func (*ProposedCertificate) XXX_Marshal

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

func (*ProposedCertificate) XXX_Merge

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

func (*ProposedCertificate) XXX_Size

func (m *ProposedCertificate) XXX_Size() int

func (*ProposedCertificate) XXX_Unmarshal

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

type ProposedCertificateRevocation

type ProposedCertificateRevocation struct {
	Subject       string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId  string   `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
	Approvals     []*Grant `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"`
	SubjectAsText string   `protobuf:"bytes,4,opt,name=subjectAsText,proto3" json:"subjectAsText,omitempty"`
}

func (*ProposedCertificateRevocation) Descriptor

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

func (*ProposedCertificateRevocation) GetApprovals

func (m *ProposedCertificateRevocation) GetApprovals() []*Grant

func (*ProposedCertificateRevocation) GetSubject

func (m *ProposedCertificateRevocation) GetSubject() string

func (*ProposedCertificateRevocation) GetSubjectAsText added in v0.10.0

func (m *ProposedCertificateRevocation) GetSubjectAsText() string

func (*ProposedCertificateRevocation) GetSubjectKeyId

func (m *ProposedCertificateRevocation) GetSubjectKeyId() string

func (ProposedCertificateRevocation) HasApprovalFrom

func (d ProposedCertificateRevocation) HasApprovalFrom(address string) bool

func (ProposedCertificateRevocation) HasRevocationFrom added in v0.7.0

func (cert ProposedCertificateRevocation) HasRevocationFrom(address string) bool

func (*ProposedCertificateRevocation) Marshal

func (m *ProposedCertificateRevocation) Marshal() (dAtA []byte, err error)

func (*ProposedCertificateRevocation) MarshalTo

func (m *ProposedCertificateRevocation) MarshalTo(dAtA []byte) (int, error)

func (*ProposedCertificateRevocation) MarshalToSizedBuffer

func (m *ProposedCertificateRevocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProposedCertificateRevocation) ProtoMessage

func (*ProposedCertificateRevocation) ProtoMessage()

func (*ProposedCertificateRevocation) Reset

func (m *ProposedCertificateRevocation) Reset()

func (*ProposedCertificateRevocation) Size

func (m *ProposedCertificateRevocation) Size() (n int)

func (*ProposedCertificateRevocation) String

func (*ProposedCertificateRevocation) Unmarshal

func (m *ProposedCertificateRevocation) Unmarshal(dAtA []byte) error

func (*ProposedCertificateRevocation) XXX_DiscardUnknown

func (m *ProposedCertificateRevocation) XXX_DiscardUnknown()

func (*ProposedCertificateRevocation) XXX_Marshal

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

func (*ProposedCertificateRevocation) XXX_Merge

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

func (*ProposedCertificateRevocation) XXX_Size

func (m *ProposedCertificateRevocation) XXX_Size() int

func (*ProposedCertificateRevocation) XXX_Unmarshal

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

type QueryAllApprovedCertificatesRequest

type QueryAllApprovedCertificatesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllApprovedCertificatesRequest) Descriptor

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

func (*QueryAllApprovedCertificatesRequest) GetPagination

func (*QueryAllApprovedCertificatesRequest) Marshal

func (m *QueryAllApprovedCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllApprovedCertificatesRequest) MarshalTo

func (m *QueryAllApprovedCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllApprovedCertificatesRequest) MarshalToSizedBuffer

func (m *QueryAllApprovedCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllApprovedCertificatesRequest) ProtoMessage

func (*QueryAllApprovedCertificatesRequest) ProtoMessage()

func (*QueryAllApprovedCertificatesRequest) Reset

func (*QueryAllApprovedCertificatesRequest) Size

func (*QueryAllApprovedCertificatesRequest) String

func (*QueryAllApprovedCertificatesRequest) Unmarshal

func (m *QueryAllApprovedCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllApprovedCertificatesRequest) XXX_DiscardUnknown

func (m *QueryAllApprovedCertificatesRequest) XXX_DiscardUnknown()

func (*QueryAllApprovedCertificatesRequest) XXX_Marshal

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

func (*QueryAllApprovedCertificatesRequest) XXX_Merge

func (*QueryAllApprovedCertificatesRequest) XXX_Size

func (*QueryAllApprovedCertificatesRequest) XXX_Unmarshal

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

type QueryAllApprovedCertificatesResponse

type QueryAllApprovedCertificatesResponse struct {
	ApprovedCertificates []ApprovedCertificates `protobuf:"bytes,1,rep,name=approvedCertificates,proto3" json:"approvedCertificates"`
	Pagination           *query.PageResponse    `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllApprovedCertificatesResponse) Descriptor

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

func (*QueryAllApprovedCertificatesResponse) GetApprovedCertificates

func (m *QueryAllApprovedCertificatesResponse) GetApprovedCertificates() []ApprovedCertificates

func (*QueryAllApprovedCertificatesResponse) GetPagination

func (*QueryAllApprovedCertificatesResponse) Marshal

func (m *QueryAllApprovedCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllApprovedCertificatesResponse) MarshalTo

func (m *QueryAllApprovedCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllApprovedCertificatesResponse) MarshalToSizedBuffer

func (m *QueryAllApprovedCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllApprovedCertificatesResponse) ProtoMessage

func (*QueryAllApprovedCertificatesResponse) ProtoMessage()

func (*QueryAllApprovedCertificatesResponse) Reset

func (*QueryAllApprovedCertificatesResponse) Size

func (*QueryAllApprovedCertificatesResponse) String

func (*QueryAllApprovedCertificatesResponse) Unmarshal

func (m *QueryAllApprovedCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllApprovedCertificatesResponse) XXX_DiscardUnknown

func (m *QueryAllApprovedCertificatesResponse) XXX_DiscardUnknown()

func (*QueryAllApprovedCertificatesResponse) XXX_Marshal

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

func (*QueryAllApprovedCertificatesResponse) XXX_Merge

func (*QueryAllApprovedCertificatesResponse) XXX_Size

func (*QueryAllApprovedCertificatesResponse) XXX_Unmarshal

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

type QueryAllProposedCertificateRequest

type QueryAllProposedCertificateRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProposedCertificateRequest) Descriptor

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

func (*QueryAllProposedCertificateRequest) GetPagination

func (*QueryAllProposedCertificateRequest) Marshal

func (m *QueryAllProposedCertificateRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProposedCertificateRequest) MarshalTo

func (m *QueryAllProposedCertificateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateRequest) MarshalToSizedBuffer

func (m *QueryAllProposedCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateRequest) ProtoMessage

func (*QueryAllProposedCertificateRequest) ProtoMessage()

func (*QueryAllProposedCertificateRequest) Reset

func (*QueryAllProposedCertificateRequest) Size

func (*QueryAllProposedCertificateRequest) String

func (*QueryAllProposedCertificateRequest) Unmarshal

func (m *QueryAllProposedCertificateRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProposedCertificateRequest) XXX_DiscardUnknown

func (m *QueryAllProposedCertificateRequest) XXX_DiscardUnknown()

func (*QueryAllProposedCertificateRequest) XXX_Marshal

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

func (*QueryAllProposedCertificateRequest) XXX_Merge

func (*QueryAllProposedCertificateRequest) XXX_Size

func (*QueryAllProposedCertificateRequest) XXX_Unmarshal

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

type QueryAllProposedCertificateResponse

type QueryAllProposedCertificateResponse struct {
	ProposedCertificate []ProposedCertificate `protobuf:"bytes,1,rep,name=proposedCertificate,proto3" json:"proposedCertificate"`
	Pagination          *query.PageResponse   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProposedCertificateResponse) Descriptor

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

func (*QueryAllProposedCertificateResponse) GetPagination

func (*QueryAllProposedCertificateResponse) GetProposedCertificate

func (m *QueryAllProposedCertificateResponse) GetProposedCertificate() []ProposedCertificate

func (*QueryAllProposedCertificateResponse) Marshal

func (m *QueryAllProposedCertificateResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProposedCertificateResponse) MarshalTo

func (m *QueryAllProposedCertificateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateResponse) MarshalToSizedBuffer

func (m *QueryAllProposedCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateResponse) ProtoMessage

func (*QueryAllProposedCertificateResponse) ProtoMessage()

func (*QueryAllProposedCertificateResponse) Reset

func (*QueryAllProposedCertificateResponse) Size

func (*QueryAllProposedCertificateResponse) String

func (*QueryAllProposedCertificateResponse) Unmarshal

func (m *QueryAllProposedCertificateResponse) Unmarshal(dAtA []byte) error

func (*QueryAllProposedCertificateResponse) XXX_DiscardUnknown

func (m *QueryAllProposedCertificateResponse) XXX_DiscardUnknown()

func (*QueryAllProposedCertificateResponse) XXX_Marshal

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

func (*QueryAllProposedCertificateResponse) XXX_Merge

func (*QueryAllProposedCertificateResponse) XXX_Size

func (*QueryAllProposedCertificateResponse) XXX_Unmarshal

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

type QueryAllProposedCertificateRevocationRequest

type QueryAllProposedCertificateRevocationRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProposedCertificateRevocationRequest) Descriptor

func (*QueryAllProposedCertificateRevocationRequest) GetPagination

func (*QueryAllProposedCertificateRevocationRequest) Marshal

func (m *QueryAllProposedCertificateRevocationRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProposedCertificateRevocationRequest) MarshalTo

func (*QueryAllProposedCertificateRevocationRequest) MarshalToSizedBuffer

func (m *QueryAllProposedCertificateRevocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateRevocationRequest) ProtoMessage

func (*QueryAllProposedCertificateRevocationRequest) Reset

func (*QueryAllProposedCertificateRevocationRequest) Size

func (*QueryAllProposedCertificateRevocationRequest) String

func (*QueryAllProposedCertificateRevocationRequest) Unmarshal

func (*QueryAllProposedCertificateRevocationRequest) XXX_DiscardUnknown

func (m *QueryAllProposedCertificateRevocationRequest) XXX_DiscardUnknown()

func (*QueryAllProposedCertificateRevocationRequest) XXX_Marshal

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

func (*QueryAllProposedCertificateRevocationRequest) XXX_Merge

func (*QueryAllProposedCertificateRevocationRequest) XXX_Size

func (*QueryAllProposedCertificateRevocationRequest) XXX_Unmarshal

type QueryAllProposedCertificateRevocationResponse

type QueryAllProposedCertificateRevocationResponse struct {
	ProposedCertificateRevocation []ProposedCertificateRevocation `protobuf:"bytes,1,rep,name=proposedCertificateRevocation,proto3" json:"proposedCertificateRevocation"`
	Pagination                    *query.PageResponse             `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProposedCertificateRevocationResponse) Descriptor

func (*QueryAllProposedCertificateRevocationResponse) GetPagination

func (*QueryAllProposedCertificateRevocationResponse) GetProposedCertificateRevocation

func (m *QueryAllProposedCertificateRevocationResponse) GetProposedCertificateRevocation() []ProposedCertificateRevocation

func (*QueryAllProposedCertificateRevocationResponse) Marshal

func (m *QueryAllProposedCertificateRevocationResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProposedCertificateRevocationResponse) MarshalTo

func (*QueryAllProposedCertificateRevocationResponse) MarshalToSizedBuffer

func (m *QueryAllProposedCertificateRevocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProposedCertificateRevocationResponse) ProtoMessage

func (*QueryAllProposedCertificateRevocationResponse) Reset

func (*QueryAllProposedCertificateRevocationResponse) Size

func (*QueryAllProposedCertificateRevocationResponse) String

func (*QueryAllProposedCertificateRevocationResponse) Unmarshal

func (*QueryAllProposedCertificateRevocationResponse) XXX_DiscardUnknown

func (m *QueryAllProposedCertificateRevocationResponse) XXX_DiscardUnknown()

func (*QueryAllProposedCertificateRevocationResponse) XXX_Marshal

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

func (*QueryAllProposedCertificateRevocationResponse) XXX_Merge

func (*QueryAllProposedCertificateRevocationResponse) XXX_Size

func (*QueryAllProposedCertificateRevocationResponse) XXX_Unmarshal

type QueryAllRevokedCertificatesRequest

type QueryAllRevokedCertificatesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRevokedCertificatesRequest) Descriptor

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

func (*QueryAllRevokedCertificatesRequest) GetPagination

func (*QueryAllRevokedCertificatesRequest) Marshal

func (m *QueryAllRevokedCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllRevokedCertificatesRequest) MarshalTo

func (m *QueryAllRevokedCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRevokedCertificatesRequest) MarshalToSizedBuffer

func (m *QueryAllRevokedCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRevokedCertificatesRequest) ProtoMessage

func (*QueryAllRevokedCertificatesRequest) ProtoMessage()

func (*QueryAllRevokedCertificatesRequest) Reset

func (*QueryAllRevokedCertificatesRequest) Size

func (*QueryAllRevokedCertificatesRequest) String

func (*QueryAllRevokedCertificatesRequest) Unmarshal

func (m *QueryAllRevokedCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllRevokedCertificatesRequest) XXX_DiscardUnknown

func (m *QueryAllRevokedCertificatesRequest) XXX_DiscardUnknown()

func (*QueryAllRevokedCertificatesRequest) XXX_Marshal

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

func (*QueryAllRevokedCertificatesRequest) XXX_Merge

func (*QueryAllRevokedCertificatesRequest) XXX_Size

func (*QueryAllRevokedCertificatesRequest) XXX_Unmarshal

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

type QueryAllRevokedCertificatesResponse

type QueryAllRevokedCertificatesResponse struct {
	RevokedCertificates []RevokedCertificates `protobuf:"bytes,1,rep,name=revokedCertificates,proto3" json:"revokedCertificates"`
	Pagination          *query.PageResponse   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRevokedCertificatesResponse) Descriptor

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

func (*QueryAllRevokedCertificatesResponse) GetPagination

func (*QueryAllRevokedCertificatesResponse) GetRevokedCertificates

func (m *QueryAllRevokedCertificatesResponse) GetRevokedCertificates() []RevokedCertificates

func (*QueryAllRevokedCertificatesResponse) Marshal

func (m *QueryAllRevokedCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllRevokedCertificatesResponse) MarshalTo

func (m *QueryAllRevokedCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRevokedCertificatesResponse) MarshalToSizedBuffer

func (m *QueryAllRevokedCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRevokedCertificatesResponse) ProtoMessage

func (*QueryAllRevokedCertificatesResponse) ProtoMessage()

func (*QueryAllRevokedCertificatesResponse) Reset

func (*QueryAllRevokedCertificatesResponse) Size

func (*QueryAllRevokedCertificatesResponse) String

func (*QueryAllRevokedCertificatesResponse) Unmarshal

func (m *QueryAllRevokedCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllRevokedCertificatesResponse) XXX_DiscardUnknown

func (m *QueryAllRevokedCertificatesResponse) XXX_DiscardUnknown()

func (*QueryAllRevokedCertificatesResponse) XXX_Marshal

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

func (*QueryAllRevokedCertificatesResponse) XXX_Merge

func (*QueryAllRevokedCertificatesResponse) XXX_Size

func (*QueryAllRevokedCertificatesResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a ApprovedCertificates by index.
	ApprovedCertificates(ctx context.Context, in *QueryGetApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesResponse, error)
	// Queries a list of ApprovedCertificates items.
	ApprovedCertificatesAll(ctx context.Context, in *QueryAllApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllApprovedCertificatesResponse, error)
	// Queries a ProposedCertificate by index.
	ProposedCertificate(ctx context.Context, in *QueryGetProposedCertificateRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateResponse, error)
	// Queries a list of ProposedCertificate items.
	ProposedCertificateAll(ctx context.Context, in *QueryAllProposedCertificateRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateResponse, error)
	// Queries a ChildCertificates by index.
	ChildCertificates(ctx context.Context, in *QueryGetChildCertificatesRequest, opts ...grpc.CallOption) (*QueryGetChildCertificatesResponse, error)
	// Queries a ProposedCertificateRevocation by index.
	ProposedCertificateRevocation(ctx context.Context, in *QueryGetProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateRevocationResponse, error)
	// Queries a list of ProposedCertificateRevocation items.
	ProposedCertificateRevocationAll(ctx context.Context, in *QueryAllProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateRevocationResponse, error)
	// Queries a RevokedCertificates by index.
	RevokedCertificates(ctx context.Context, in *QueryGetRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedCertificatesResponse, error)
	// Queries a list of RevokedCertificates items.
	RevokedCertificatesAll(ctx context.Context, in *QueryAllRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllRevokedCertificatesResponse, error)
	// Queries a ApprovedRootCertificates by index.
	ApprovedRootCertificates(ctx context.Context, in *QueryGetApprovedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedRootCertificatesResponse, error)
	// Queries a RevokedRootCertificates by index.
	RevokedRootCertificates(ctx context.Context, in *QueryGetRevokedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedRootCertificatesResponse, error)
	// Queries a ApprovedCertificatesBySubject by index.
	ApprovedCertificatesBySubject(ctx context.Context, in *QueryGetApprovedCertificatesBySubjectRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesBySubjectResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetApprovedCertificatesBySubjectRequest

type QueryGetApprovedCertificatesBySubjectRequest struct {
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
}

func (*QueryGetApprovedCertificatesBySubjectRequest) Descriptor

func (*QueryGetApprovedCertificatesBySubjectRequest) GetSubject

func (*QueryGetApprovedCertificatesBySubjectRequest) Marshal

func (m *QueryGetApprovedCertificatesBySubjectRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedCertificatesBySubjectRequest) MarshalTo

func (*QueryGetApprovedCertificatesBySubjectRequest) MarshalToSizedBuffer

func (m *QueryGetApprovedCertificatesBySubjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesBySubjectRequest) ProtoMessage

func (*QueryGetApprovedCertificatesBySubjectRequest) Reset

func (*QueryGetApprovedCertificatesBySubjectRequest) Size

func (*QueryGetApprovedCertificatesBySubjectRequest) String

func (*QueryGetApprovedCertificatesBySubjectRequest) Unmarshal

func (*QueryGetApprovedCertificatesBySubjectRequest) XXX_DiscardUnknown

func (m *QueryGetApprovedCertificatesBySubjectRequest) XXX_DiscardUnknown()

func (*QueryGetApprovedCertificatesBySubjectRequest) XXX_Marshal

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

func (*QueryGetApprovedCertificatesBySubjectRequest) XXX_Merge

func (*QueryGetApprovedCertificatesBySubjectRequest) XXX_Size

func (*QueryGetApprovedCertificatesBySubjectRequest) XXX_Unmarshal

type QueryGetApprovedCertificatesBySubjectResponse

type QueryGetApprovedCertificatesBySubjectResponse struct {
	ApprovedCertificatesBySubject ApprovedCertificatesBySubject `protobuf:"bytes,1,opt,name=approvedCertificatesBySubject,proto3" json:"approvedCertificatesBySubject"`
}

func (*QueryGetApprovedCertificatesBySubjectResponse) Descriptor

func (*QueryGetApprovedCertificatesBySubjectResponse) GetApprovedCertificatesBySubject

func (*QueryGetApprovedCertificatesBySubjectResponse) Marshal

func (m *QueryGetApprovedCertificatesBySubjectResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedCertificatesBySubjectResponse) MarshalTo

func (*QueryGetApprovedCertificatesBySubjectResponse) MarshalToSizedBuffer

func (m *QueryGetApprovedCertificatesBySubjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesBySubjectResponse) ProtoMessage

func (*QueryGetApprovedCertificatesBySubjectResponse) Reset

func (*QueryGetApprovedCertificatesBySubjectResponse) Size

func (*QueryGetApprovedCertificatesBySubjectResponse) String

func (*QueryGetApprovedCertificatesBySubjectResponse) Unmarshal

func (*QueryGetApprovedCertificatesBySubjectResponse) XXX_DiscardUnknown

func (m *QueryGetApprovedCertificatesBySubjectResponse) XXX_DiscardUnknown()

func (*QueryGetApprovedCertificatesBySubjectResponse) XXX_Marshal

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

func (*QueryGetApprovedCertificatesBySubjectResponse) XXX_Merge

func (*QueryGetApprovedCertificatesBySubjectResponse) XXX_Size

func (*QueryGetApprovedCertificatesBySubjectResponse) XXX_Unmarshal

type QueryGetApprovedCertificatesRequest

type QueryGetApprovedCertificatesRequest struct {
	Subject      string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
}

func (*QueryGetApprovedCertificatesRequest) Descriptor

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

func (*QueryGetApprovedCertificatesRequest) GetSubject

func (*QueryGetApprovedCertificatesRequest) GetSubjectKeyId

func (m *QueryGetApprovedCertificatesRequest) GetSubjectKeyId() string

func (*QueryGetApprovedCertificatesRequest) Marshal

func (m *QueryGetApprovedCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedCertificatesRequest) MarshalTo

func (m *QueryGetApprovedCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesRequest) MarshalToSizedBuffer

func (m *QueryGetApprovedCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesRequest) ProtoMessage

func (*QueryGetApprovedCertificatesRequest) ProtoMessage()

func (*QueryGetApprovedCertificatesRequest) Reset

func (*QueryGetApprovedCertificatesRequest) Size

func (*QueryGetApprovedCertificatesRequest) String

func (*QueryGetApprovedCertificatesRequest) Unmarshal

func (m *QueryGetApprovedCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetApprovedCertificatesRequest) XXX_DiscardUnknown

func (m *QueryGetApprovedCertificatesRequest) XXX_DiscardUnknown()

func (*QueryGetApprovedCertificatesRequest) XXX_Marshal

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

func (*QueryGetApprovedCertificatesRequest) XXX_Merge

func (*QueryGetApprovedCertificatesRequest) XXX_Size

func (*QueryGetApprovedCertificatesRequest) XXX_Unmarshal

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

type QueryGetApprovedCertificatesResponse

type QueryGetApprovedCertificatesResponse struct {
	ApprovedCertificates ApprovedCertificates `protobuf:"bytes,1,opt,name=approvedCertificates,proto3" json:"approvedCertificates"`
}

func (*QueryGetApprovedCertificatesResponse) Descriptor

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

func (*QueryGetApprovedCertificatesResponse) GetApprovedCertificates

func (m *QueryGetApprovedCertificatesResponse) GetApprovedCertificates() ApprovedCertificates

func (*QueryGetApprovedCertificatesResponse) Marshal

func (m *QueryGetApprovedCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedCertificatesResponse) MarshalTo

func (m *QueryGetApprovedCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesResponse) MarshalToSizedBuffer

func (m *QueryGetApprovedCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedCertificatesResponse) ProtoMessage

func (*QueryGetApprovedCertificatesResponse) ProtoMessage()

func (*QueryGetApprovedCertificatesResponse) Reset

func (*QueryGetApprovedCertificatesResponse) Size

func (*QueryGetApprovedCertificatesResponse) String

func (*QueryGetApprovedCertificatesResponse) Unmarshal

func (m *QueryGetApprovedCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryGetApprovedCertificatesResponse) XXX_DiscardUnknown

func (m *QueryGetApprovedCertificatesResponse) XXX_DiscardUnknown()

func (*QueryGetApprovedCertificatesResponse) XXX_Marshal

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

func (*QueryGetApprovedCertificatesResponse) XXX_Merge

func (*QueryGetApprovedCertificatesResponse) XXX_Size

func (*QueryGetApprovedCertificatesResponse) XXX_Unmarshal

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

type QueryGetApprovedRootCertificatesRequest

type QueryGetApprovedRootCertificatesRequest struct {
}

func (*QueryGetApprovedRootCertificatesRequest) Descriptor

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

func (*QueryGetApprovedRootCertificatesRequest) Marshal

func (m *QueryGetApprovedRootCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedRootCertificatesRequest) MarshalTo

func (m *QueryGetApprovedRootCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetApprovedRootCertificatesRequest) MarshalToSizedBuffer

func (m *QueryGetApprovedRootCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedRootCertificatesRequest) ProtoMessage

func (*QueryGetApprovedRootCertificatesRequest) Reset

func (*QueryGetApprovedRootCertificatesRequest) Size

func (*QueryGetApprovedRootCertificatesRequest) String

func (*QueryGetApprovedRootCertificatesRequest) Unmarshal

func (m *QueryGetApprovedRootCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetApprovedRootCertificatesRequest) XXX_DiscardUnknown

func (m *QueryGetApprovedRootCertificatesRequest) XXX_DiscardUnknown()

func (*QueryGetApprovedRootCertificatesRequest) XXX_Marshal

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

func (*QueryGetApprovedRootCertificatesRequest) XXX_Merge

func (*QueryGetApprovedRootCertificatesRequest) XXX_Size

func (*QueryGetApprovedRootCertificatesRequest) XXX_Unmarshal

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

type QueryGetApprovedRootCertificatesResponse

type QueryGetApprovedRootCertificatesResponse struct {
	ApprovedRootCertificates ApprovedRootCertificates `protobuf:"bytes,1,opt,name=approvedRootCertificates,proto3" json:"approvedRootCertificates"`
}

func (*QueryGetApprovedRootCertificatesResponse) Descriptor

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

func (*QueryGetApprovedRootCertificatesResponse) GetApprovedRootCertificates

func (m *QueryGetApprovedRootCertificatesResponse) GetApprovedRootCertificates() ApprovedRootCertificates

func (*QueryGetApprovedRootCertificatesResponse) Marshal

func (m *QueryGetApprovedRootCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetApprovedRootCertificatesResponse) MarshalTo

func (m *QueryGetApprovedRootCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetApprovedRootCertificatesResponse) MarshalToSizedBuffer

func (m *QueryGetApprovedRootCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetApprovedRootCertificatesResponse) ProtoMessage

func (*QueryGetApprovedRootCertificatesResponse) Reset

func (*QueryGetApprovedRootCertificatesResponse) Size

func (*QueryGetApprovedRootCertificatesResponse) String

func (*QueryGetApprovedRootCertificatesResponse) Unmarshal

func (*QueryGetApprovedRootCertificatesResponse) XXX_DiscardUnknown

func (m *QueryGetApprovedRootCertificatesResponse) XXX_DiscardUnknown()

func (*QueryGetApprovedRootCertificatesResponse) XXX_Marshal

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

func (*QueryGetApprovedRootCertificatesResponse) XXX_Merge

func (*QueryGetApprovedRootCertificatesResponse) XXX_Size

func (*QueryGetApprovedRootCertificatesResponse) XXX_Unmarshal

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

type QueryGetChildCertificatesRequest

type QueryGetChildCertificatesRequest struct {
	Issuer         string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	AuthorityKeyId string `protobuf:"bytes,2,opt,name=authorityKeyId,proto3" json:"authorityKeyId,omitempty"`
}

func (*QueryGetChildCertificatesRequest) Descriptor

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

func (*QueryGetChildCertificatesRequest) GetAuthorityKeyId

func (m *QueryGetChildCertificatesRequest) GetAuthorityKeyId() string

func (*QueryGetChildCertificatesRequest) GetIssuer

func (*QueryGetChildCertificatesRequest) Marshal

func (m *QueryGetChildCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetChildCertificatesRequest) MarshalTo

func (m *QueryGetChildCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetChildCertificatesRequest) MarshalToSizedBuffer

func (m *QueryGetChildCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetChildCertificatesRequest) ProtoMessage

func (*QueryGetChildCertificatesRequest) ProtoMessage()

func (*QueryGetChildCertificatesRequest) Reset

func (*QueryGetChildCertificatesRequest) Size

func (m *QueryGetChildCertificatesRequest) Size() (n int)

func (*QueryGetChildCertificatesRequest) String

func (*QueryGetChildCertificatesRequest) Unmarshal

func (m *QueryGetChildCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetChildCertificatesRequest) XXX_DiscardUnknown

func (m *QueryGetChildCertificatesRequest) XXX_DiscardUnknown()

func (*QueryGetChildCertificatesRequest) XXX_Marshal

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

func (*QueryGetChildCertificatesRequest) XXX_Merge

func (*QueryGetChildCertificatesRequest) XXX_Size

func (m *QueryGetChildCertificatesRequest) XXX_Size() int

func (*QueryGetChildCertificatesRequest) XXX_Unmarshal

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

type QueryGetChildCertificatesResponse

type QueryGetChildCertificatesResponse struct {
	ChildCertificates ChildCertificates `protobuf:"bytes,1,opt,name=childCertificates,proto3" json:"childCertificates"`
}

func (*QueryGetChildCertificatesResponse) Descriptor

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

func (*QueryGetChildCertificatesResponse) GetChildCertificates

func (m *QueryGetChildCertificatesResponse) GetChildCertificates() ChildCertificates

func (*QueryGetChildCertificatesResponse) Marshal

func (m *QueryGetChildCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetChildCertificatesResponse) MarshalTo

func (m *QueryGetChildCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetChildCertificatesResponse) MarshalToSizedBuffer

func (m *QueryGetChildCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetChildCertificatesResponse) ProtoMessage

func (*QueryGetChildCertificatesResponse) ProtoMessage()

func (*QueryGetChildCertificatesResponse) Reset

func (*QueryGetChildCertificatesResponse) Size

func (m *QueryGetChildCertificatesResponse) Size() (n int)

func (*QueryGetChildCertificatesResponse) String

func (*QueryGetChildCertificatesResponse) Unmarshal

func (m *QueryGetChildCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryGetChildCertificatesResponse) XXX_DiscardUnknown

func (m *QueryGetChildCertificatesResponse) XXX_DiscardUnknown()

func (*QueryGetChildCertificatesResponse) XXX_Marshal

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

func (*QueryGetChildCertificatesResponse) XXX_Merge

func (*QueryGetChildCertificatesResponse) XXX_Size

func (m *QueryGetChildCertificatesResponse) XXX_Size() int

func (*QueryGetChildCertificatesResponse) XXX_Unmarshal

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

type QueryGetProposedCertificateRequest

type QueryGetProposedCertificateRequest struct {
	Subject      string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
}

func (*QueryGetProposedCertificateRequest) Descriptor

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

func (*QueryGetProposedCertificateRequest) GetSubject

func (*QueryGetProposedCertificateRequest) GetSubjectKeyId

func (m *QueryGetProposedCertificateRequest) GetSubjectKeyId() string

func (*QueryGetProposedCertificateRequest) Marshal

func (m *QueryGetProposedCertificateRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProposedCertificateRequest) MarshalTo

func (m *QueryGetProposedCertificateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateRequest) MarshalToSizedBuffer

func (m *QueryGetProposedCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateRequest) ProtoMessage

func (*QueryGetProposedCertificateRequest) ProtoMessage()

func (*QueryGetProposedCertificateRequest) Reset

func (*QueryGetProposedCertificateRequest) Size

func (*QueryGetProposedCertificateRequest) String

func (*QueryGetProposedCertificateRequest) Unmarshal

func (m *QueryGetProposedCertificateRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProposedCertificateRequest) XXX_DiscardUnknown

func (m *QueryGetProposedCertificateRequest) XXX_DiscardUnknown()

func (*QueryGetProposedCertificateRequest) XXX_Marshal

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

func (*QueryGetProposedCertificateRequest) XXX_Merge

func (*QueryGetProposedCertificateRequest) XXX_Size

func (*QueryGetProposedCertificateRequest) XXX_Unmarshal

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

type QueryGetProposedCertificateResponse

type QueryGetProposedCertificateResponse struct {
	ProposedCertificate ProposedCertificate `protobuf:"bytes,1,opt,name=proposedCertificate,proto3" json:"proposedCertificate"`
}

func (*QueryGetProposedCertificateResponse) Descriptor

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

func (*QueryGetProposedCertificateResponse) GetProposedCertificate

func (m *QueryGetProposedCertificateResponse) GetProposedCertificate() ProposedCertificate

func (*QueryGetProposedCertificateResponse) Marshal

func (m *QueryGetProposedCertificateResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProposedCertificateResponse) MarshalTo

func (m *QueryGetProposedCertificateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateResponse) MarshalToSizedBuffer

func (m *QueryGetProposedCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateResponse) ProtoMessage

func (*QueryGetProposedCertificateResponse) ProtoMessage()

func (*QueryGetProposedCertificateResponse) Reset

func (*QueryGetProposedCertificateResponse) Size

func (*QueryGetProposedCertificateResponse) String

func (*QueryGetProposedCertificateResponse) Unmarshal

func (m *QueryGetProposedCertificateResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProposedCertificateResponse) XXX_DiscardUnknown

func (m *QueryGetProposedCertificateResponse) XXX_DiscardUnknown()

func (*QueryGetProposedCertificateResponse) XXX_Marshal

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

func (*QueryGetProposedCertificateResponse) XXX_Merge

func (*QueryGetProposedCertificateResponse) XXX_Size

func (*QueryGetProposedCertificateResponse) XXX_Unmarshal

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

type QueryGetProposedCertificateRevocationRequest

type QueryGetProposedCertificateRevocationRequest struct {
	Subject      string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
}

func (*QueryGetProposedCertificateRevocationRequest) Descriptor

func (*QueryGetProposedCertificateRevocationRequest) GetSubject

func (*QueryGetProposedCertificateRevocationRequest) GetSubjectKeyId

func (*QueryGetProposedCertificateRevocationRequest) Marshal

func (m *QueryGetProposedCertificateRevocationRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProposedCertificateRevocationRequest) MarshalTo

func (*QueryGetProposedCertificateRevocationRequest) MarshalToSizedBuffer

func (m *QueryGetProposedCertificateRevocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateRevocationRequest) ProtoMessage

func (*QueryGetProposedCertificateRevocationRequest) Reset

func (*QueryGetProposedCertificateRevocationRequest) Size

func (*QueryGetProposedCertificateRevocationRequest) String

func (*QueryGetProposedCertificateRevocationRequest) Unmarshal

func (*QueryGetProposedCertificateRevocationRequest) XXX_DiscardUnknown

func (m *QueryGetProposedCertificateRevocationRequest) XXX_DiscardUnknown()

func (*QueryGetProposedCertificateRevocationRequest) XXX_Marshal

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

func (*QueryGetProposedCertificateRevocationRequest) XXX_Merge

func (*QueryGetProposedCertificateRevocationRequest) XXX_Size

func (*QueryGetProposedCertificateRevocationRequest) XXX_Unmarshal

type QueryGetProposedCertificateRevocationResponse

type QueryGetProposedCertificateRevocationResponse struct {
	ProposedCertificateRevocation ProposedCertificateRevocation `protobuf:"bytes,1,opt,name=proposedCertificateRevocation,proto3" json:"proposedCertificateRevocation"`
}

func (*QueryGetProposedCertificateRevocationResponse) Descriptor

func (*QueryGetProposedCertificateRevocationResponse) GetProposedCertificateRevocation

func (*QueryGetProposedCertificateRevocationResponse) Marshal

func (m *QueryGetProposedCertificateRevocationResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProposedCertificateRevocationResponse) MarshalTo

func (*QueryGetProposedCertificateRevocationResponse) MarshalToSizedBuffer

func (m *QueryGetProposedCertificateRevocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProposedCertificateRevocationResponse) ProtoMessage

func (*QueryGetProposedCertificateRevocationResponse) Reset

func (*QueryGetProposedCertificateRevocationResponse) Size

func (*QueryGetProposedCertificateRevocationResponse) String

func (*QueryGetProposedCertificateRevocationResponse) Unmarshal

func (*QueryGetProposedCertificateRevocationResponse) XXX_DiscardUnknown

func (m *QueryGetProposedCertificateRevocationResponse) XXX_DiscardUnknown()

func (*QueryGetProposedCertificateRevocationResponse) XXX_Marshal

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

func (*QueryGetProposedCertificateRevocationResponse) XXX_Merge

func (*QueryGetProposedCertificateRevocationResponse) XXX_Size

func (*QueryGetProposedCertificateRevocationResponse) XXX_Unmarshal

type QueryGetRevokedCertificatesRequest

type QueryGetRevokedCertificatesRequest struct {
	Subject      string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
}

func (*QueryGetRevokedCertificatesRequest) Descriptor

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

func (*QueryGetRevokedCertificatesRequest) GetSubject

func (*QueryGetRevokedCertificatesRequest) GetSubjectKeyId

func (m *QueryGetRevokedCertificatesRequest) GetSubjectKeyId() string

func (*QueryGetRevokedCertificatesRequest) Marshal

func (m *QueryGetRevokedCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRevokedCertificatesRequest) MarshalTo

func (m *QueryGetRevokedCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRevokedCertificatesRequest) MarshalToSizedBuffer

func (m *QueryGetRevokedCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRevokedCertificatesRequest) ProtoMessage

func (*QueryGetRevokedCertificatesRequest) ProtoMessage()

func (*QueryGetRevokedCertificatesRequest) Reset

func (*QueryGetRevokedCertificatesRequest) Size

func (*QueryGetRevokedCertificatesRequest) String

func (*QueryGetRevokedCertificatesRequest) Unmarshal

func (m *QueryGetRevokedCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRevokedCertificatesRequest) XXX_DiscardUnknown

func (m *QueryGetRevokedCertificatesRequest) XXX_DiscardUnknown()

func (*QueryGetRevokedCertificatesRequest) XXX_Marshal

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

func (*QueryGetRevokedCertificatesRequest) XXX_Merge

func (*QueryGetRevokedCertificatesRequest) XXX_Size

func (*QueryGetRevokedCertificatesRequest) XXX_Unmarshal

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

type QueryGetRevokedCertificatesResponse

type QueryGetRevokedCertificatesResponse struct {
	RevokedCertificates RevokedCertificates `protobuf:"bytes,1,opt,name=revokedCertificates,proto3" json:"revokedCertificates"`
}

func (*QueryGetRevokedCertificatesResponse) Descriptor

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

func (*QueryGetRevokedCertificatesResponse) GetRevokedCertificates

func (m *QueryGetRevokedCertificatesResponse) GetRevokedCertificates() RevokedCertificates

func (*QueryGetRevokedCertificatesResponse) Marshal

func (m *QueryGetRevokedCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRevokedCertificatesResponse) MarshalTo

func (m *QueryGetRevokedCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRevokedCertificatesResponse) MarshalToSizedBuffer

func (m *QueryGetRevokedCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRevokedCertificatesResponse) ProtoMessage

func (*QueryGetRevokedCertificatesResponse) ProtoMessage()

func (*QueryGetRevokedCertificatesResponse) Reset

func (*QueryGetRevokedCertificatesResponse) Size

func (*QueryGetRevokedCertificatesResponse) String

func (*QueryGetRevokedCertificatesResponse) Unmarshal

func (m *QueryGetRevokedCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRevokedCertificatesResponse) XXX_DiscardUnknown

func (m *QueryGetRevokedCertificatesResponse) XXX_DiscardUnknown()

func (*QueryGetRevokedCertificatesResponse) XXX_Marshal

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

func (*QueryGetRevokedCertificatesResponse) XXX_Merge

func (*QueryGetRevokedCertificatesResponse) XXX_Size

func (*QueryGetRevokedCertificatesResponse) XXX_Unmarshal

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

type QueryGetRevokedRootCertificatesRequest

type QueryGetRevokedRootCertificatesRequest struct {
}

func (*QueryGetRevokedRootCertificatesRequest) Descriptor

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

func (*QueryGetRevokedRootCertificatesRequest) Marshal

func (m *QueryGetRevokedRootCertificatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRevokedRootCertificatesRequest) MarshalTo

func (m *QueryGetRevokedRootCertificatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRevokedRootCertificatesRequest) MarshalToSizedBuffer

func (m *QueryGetRevokedRootCertificatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRevokedRootCertificatesRequest) ProtoMessage

func (*QueryGetRevokedRootCertificatesRequest) Reset

func (*QueryGetRevokedRootCertificatesRequest) Size

func (*QueryGetRevokedRootCertificatesRequest) String

func (*QueryGetRevokedRootCertificatesRequest) Unmarshal

func (m *QueryGetRevokedRootCertificatesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRevokedRootCertificatesRequest) XXX_DiscardUnknown

func (m *QueryGetRevokedRootCertificatesRequest) XXX_DiscardUnknown()

func (*QueryGetRevokedRootCertificatesRequest) XXX_Marshal

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

func (*QueryGetRevokedRootCertificatesRequest) XXX_Merge

func (*QueryGetRevokedRootCertificatesRequest) XXX_Size

func (*QueryGetRevokedRootCertificatesRequest) XXX_Unmarshal

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

type QueryGetRevokedRootCertificatesResponse

type QueryGetRevokedRootCertificatesResponse struct {
	RevokedRootCertificates RevokedRootCertificates `protobuf:"bytes,1,opt,name=revokedRootCertificates,proto3" json:"revokedRootCertificates"`
}

func (*QueryGetRevokedRootCertificatesResponse) Descriptor

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

func (*QueryGetRevokedRootCertificatesResponse) GetRevokedRootCertificates

func (m *QueryGetRevokedRootCertificatesResponse) GetRevokedRootCertificates() RevokedRootCertificates

func (*QueryGetRevokedRootCertificatesResponse) Marshal

func (m *QueryGetRevokedRootCertificatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRevokedRootCertificatesResponse) MarshalTo

func (m *QueryGetRevokedRootCertificatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRevokedRootCertificatesResponse) MarshalToSizedBuffer

func (m *QueryGetRevokedRootCertificatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRevokedRootCertificatesResponse) ProtoMessage

func (*QueryGetRevokedRootCertificatesResponse) Reset

func (*QueryGetRevokedRootCertificatesResponse) Size

func (*QueryGetRevokedRootCertificatesResponse) String

func (*QueryGetRevokedRootCertificatesResponse) Unmarshal

func (m *QueryGetRevokedRootCertificatesResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRevokedRootCertificatesResponse) XXX_DiscardUnknown

func (m *QueryGetRevokedRootCertificatesResponse) XXX_DiscardUnknown()

func (*QueryGetRevokedRootCertificatesResponse) XXX_Marshal

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

func (*QueryGetRevokedRootCertificatesResponse) XXX_Merge

func (*QueryGetRevokedRootCertificatesResponse) XXX_Size

func (*QueryGetRevokedRootCertificatesResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a ApprovedCertificates by index.
	ApprovedCertificates(context.Context, *QueryGetApprovedCertificatesRequest) (*QueryGetApprovedCertificatesResponse, error)
	// Queries a list of ApprovedCertificates items.
	ApprovedCertificatesAll(context.Context, *QueryAllApprovedCertificatesRequest) (*QueryAllApprovedCertificatesResponse, error)
	// Queries a ProposedCertificate by index.
	ProposedCertificate(context.Context, *QueryGetProposedCertificateRequest) (*QueryGetProposedCertificateResponse, error)
	// Queries a list of ProposedCertificate items.
	ProposedCertificateAll(context.Context, *QueryAllProposedCertificateRequest) (*QueryAllProposedCertificateResponse, error)
	// Queries a ChildCertificates by index.
	ChildCertificates(context.Context, *QueryGetChildCertificatesRequest) (*QueryGetChildCertificatesResponse, error)
	// Queries a ProposedCertificateRevocation by index.
	ProposedCertificateRevocation(context.Context, *QueryGetProposedCertificateRevocationRequest) (*QueryGetProposedCertificateRevocationResponse, error)
	// Queries a list of ProposedCertificateRevocation items.
	ProposedCertificateRevocationAll(context.Context, *QueryAllProposedCertificateRevocationRequest) (*QueryAllProposedCertificateRevocationResponse, error)
	// Queries a RevokedCertificates by index.
	RevokedCertificates(context.Context, *QueryGetRevokedCertificatesRequest) (*QueryGetRevokedCertificatesResponse, error)
	// Queries a list of RevokedCertificates items.
	RevokedCertificatesAll(context.Context, *QueryAllRevokedCertificatesRequest) (*QueryAllRevokedCertificatesResponse, error)
	// Queries a ApprovedRootCertificates by index.
	ApprovedRootCertificates(context.Context, *QueryGetApprovedRootCertificatesRequest) (*QueryGetApprovedRootCertificatesResponse, error)
	// Queries a RevokedRootCertificates by index.
	RevokedRootCertificates(context.Context, *QueryGetRevokedRootCertificatesRequest) (*QueryGetRevokedRootCertificatesResponse, error)
	// Queries a ApprovedCertificatesBySubject by index.
	ApprovedCertificatesBySubject(context.Context, *QueryGetApprovedCertificatesBySubjectRequest) (*QueryGetApprovedCertificatesBySubjectResponse, error)
}

QueryServer is the server API for Query service.

type RevokedCertificates

type RevokedCertificates struct {
	Subject      string         `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectKeyId string         `protobuf:"bytes,2,opt,name=subjectKeyId,proto3" json:"subjectKeyId,omitempty"`
	Certs        []*Certificate `protobuf:"bytes,3,rep,name=certs,proto3" json:"certs,omitempty"`
}

func (*RevokedCertificates) Descriptor

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

func (*RevokedCertificates) GetCerts

func (m *RevokedCertificates) GetCerts() []*Certificate

func (*RevokedCertificates) GetSubject

func (m *RevokedCertificates) GetSubject() string

func (*RevokedCertificates) GetSubjectKeyId

func (m *RevokedCertificates) GetSubjectKeyId() string

func (*RevokedCertificates) Marshal

func (m *RevokedCertificates) Marshal() (dAtA []byte, err error)

func (*RevokedCertificates) MarshalTo

func (m *RevokedCertificates) MarshalTo(dAtA []byte) (int, error)

func (*RevokedCertificates) MarshalToSizedBuffer

func (m *RevokedCertificates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokedCertificates) ProtoMessage

func (*RevokedCertificates) ProtoMessage()

func (*RevokedCertificates) Reset

func (m *RevokedCertificates) Reset()

func (*RevokedCertificates) Size

func (m *RevokedCertificates) Size() (n int)

func (*RevokedCertificates) String

func (m *RevokedCertificates) String() string

func (*RevokedCertificates) Unmarshal

func (m *RevokedCertificates) Unmarshal(dAtA []byte) error

func (*RevokedCertificates) XXX_DiscardUnknown

func (m *RevokedCertificates) XXX_DiscardUnknown()

func (*RevokedCertificates) XXX_Marshal

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

func (*RevokedCertificates) XXX_Merge

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

func (*RevokedCertificates) XXX_Size

func (m *RevokedCertificates) XXX_Size() int

func (*RevokedCertificates) XXX_Unmarshal

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

type RevokedRootCertificates

type RevokedRootCertificates struct {
	Certs []*CertificateIdentifier `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
}

func (*RevokedRootCertificates) Descriptor

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

func (*RevokedRootCertificates) GetCerts

func (*RevokedRootCertificates) Marshal

func (m *RevokedRootCertificates) Marshal() (dAtA []byte, err error)

func (*RevokedRootCertificates) MarshalTo

func (m *RevokedRootCertificates) MarshalTo(dAtA []byte) (int, error)

func (*RevokedRootCertificates) MarshalToSizedBuffer

func (m *RevokedRootCertificates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokedRootCertificates) ProtoMessage

func (*RevokedRootCertificates) ProtoMessage()

func (*RevokedRootCertificates) Reset

func (m *RevokedRootCertificates) Reset()

func (*RevokedRootCertificates) Size

func (m *RevokedRootCertificates) Size() (n int)

func (*RevokedRootCertificates) String

func (m *RevokedRootCertificates) String() string

func (*RevokedRootCertificates) Unmarshal

func (m *RevokedRootCertificates) Unmarshal(dAtA []byte) error

func (*RevokedRootCertificates) XXX_DiscardUnknown

func (m *RevokedRootCertificates) XXX_DiscardUnknown()

func (*RevokedRootCertificates) XXX_Marshal

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

func (*RevokedRootCertificates) XXX_Merge

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

func (*RevokedRootCertificates) XXX_Size

func (m *RevokedRootCertificates) XXX_Size() int

func (*RevokedRootCertificates) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddX509Cert

func (*UnimplementedMsgServer) ApproveAddX509RootCert

func (*UnimplementedMsgServer) ApproveRevokeX509RootCert

func (*UnimplementedMsgServer) ProposeAddX509RootCert

func (*UnimplementedMsgServer) ProposeRevokeX509RootCert

func (*UnimplementedMsgServer) RevokeX509Cert

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

type UniqueCertificate

type UniqueCertificate struct {
	Issuer       string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	SerialNumber string `protobuf:"bytes,2,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	Present      bool   `protobuf:"varint,3,opt,name=present,proto3" json:"present,omitempty"`
}

func (*UniqueCertificate) Descriptor

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

func (*UniqueCertificate) GetIssuer

func (m *UniqueCertificate) GetIssuer() string

func (*UniqueCertificate) GetPresent

func (m *UniqueCertificate) GetPresent() bool

func (*UniqueCertificate) GetSerialNumber

func (m *UniqueCertificate) GetSerialNumber() string

func (*UniqueCertificate) Marshal

func (m *UniqueCertificate) Marshal() (dAtA []byte, err error)

func (*UniqueCertificate) MarshalTo

func (m *UniqueCertificate) MarshalTo(dAtA []byte) (int, error)

func (*UniqueCertificate) MarshalToSizedBuffer

func (m *UniqueCertificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UniqueCertificate) ProtoMessage

func (*UniqueCertificate) ProtoMessage()

func (*UniqueCertificate) Reset

func (m *UniqueCertificate) Reset()

func (*UniqueCertificate) Size

func (m *UniqueCertificate) Size() (n int)

func (*UniqueCertificate) String

func (m *UniqueCertificate) String() string

func (*UniqueCertificate) Unmarshal

func (m *UniqueCertificate) Unmarshal(dAtA []byte) error

func (*UniqueCertificate) XXX_DiscardUnknown

func (m *UniqueCertificate) XXX_DiscardUnknown()

func (*UniqueCertificate) XXX_Marshal

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

func (*UniqueCertificate) XXX_Merge

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

func (*UniqueCertificate) XXX_Size

func (m *UniqueCertificate) XXX_Size() int

func (*UniqueCertificate) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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