proto

package
v0.0.0-...-98addd5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

ra/proto/ra.proto

It has these top-level messages:

NewAuthorizationRequest
NewCertificateRequest
UpdateRegistrationRequest
UpdateAuthorizationRequest
RevokeCertificateWithRegRequest
AdministrativelyRevokeCertificateRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRegistrationAuthorityServer

func RegisterRegistrationAuthorityServer(s *grpc.Server, srv RegistrationAuthorityServer)

Types

type AdministrativelyRevokeCertificateRequest

type AdministrativelyRevokeCertificateRequest struct {
	Cert             []byte  `protobuf:"bytes,1,opt,name=cert" json:"cert,omitempty"`
	Code             *int64  `protobuf:"varint,2,opt,name=code" json:"code,omitempty"`
	AdminName        *string `protobuf:"bytes,3,opt,name=adminName" json:"adminName,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AdministrativelyRevokeCertificateRequest) Descriptor

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

func (*AdministrativelyRevokeCertificateRequest) GetAdminName

func (*AdministrativelyRevokeCertificateRequest) GetCert

func (*AdministrativelyRevokeCertificateRequest) GetCode

func (*AdministrativelyRevokeCertificateRequest) ProtoMessage

func (*AdministrativelyRevokeCertificateRequest) Reset

func (*AdministrativelyRevokeCertificateRequest) String

type NewAuthorizationRequest

type NewAuthorizationRequest struct {
	Authz            *core.Authorization `protobuf:"bytes,1,opt,name=authz" json:"authz,omitempty"`
	RegID            *int64              `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*NewAuthorizationRequest) Descriptor

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

func (*NewAuthorizationRequest) GetAuthz

func (*NewAuthorizationRequest) GetRegID

func (m *NewAuthorizationRequest) GetRegID() int64

func (*NewAuthorizationRequest) ProtoMessage

func (*NewAuthorizationRequest) ProtoMessage()

func (*NewAuthorizationRequest) Reset

func (m *NewAuthorizationRequest) Reset()

func (*NewAuthorizationRequest) String

func (m *NewAuthorizationRequest) String() string

type NewCertificateRequest

type NewCertificateRequest struct {
	Csr              []byte `protobuf:"bytes,1,opt,name=csr" json:"csr,omitempty"`
	RegID            *int64 `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*NewCertificateRequest) Descriptor

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

func (*NewCertificateRequest) GetCsr

func (m *NewCertificateRequest) GetCsr() []byte

func (*NewCertificateRequest) GetRegID

func (m *NewCertificateRequest) GetRegID() int64

func (*NewCertificateRequest) ProtoMessage

func (*NewCertificateRequest) ProtoMessage()

func (*NewCertificateRequest) Reset

func (m *NewCertificateRequest) Reset()

func (*NewCertificateRequest) String

func (m *NewCertificateRequest) String() string

type RegistrationAuthorityClient

type RegistrationAuthorityClient interface {
	NewRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Registration, error)
	NewAuthorization(ctx context.Context, in *NewAuthorizationRequest, opts ...grpc.CallOption) (*core.Authorization, error)
	NewCertificate(ctx context.Context, in *NewCertificateRequest, opts ...grpc.CallOption) (*core.Certificate, error)
	UpdateRegistration(ctx context.Context, in *UpdateRegistrationRequest, opts ...grpc.CallOption) (*core.Registration, error)
	UpdateAuthorization(ctx context.Context, in *UpdateAuthorizationRequest, opts ...grpc.CallOption) (*core.Authorization, error)
	RevokeCertificateWithReg(ctx context.Context, in *RevokeCertificateWithRegRequest, opts ...grpc.CallOption) (*core.Empty, error)
	DeactivateRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Empty, error)
	DeactivateAuthorization(ctx context.Context, in *core.Authorization, opts ...grpc.CallOption) (*core.Empty, error)
	AdministrativelyRevokeCertificate(ctx context.Context, in *AdministrativelyRevokeCertificateRequest, opts ...grpc.CallOption) (*core.Empty, error)
}

func NewRegistrationAuthorityClient

func NewRegistrationAuthorityClient(cc *grpc.ClientConn) RegistrationAuthorityClient

type RegistrationAuthorityServer

type RegistrationAuthorityServer interface {
	NewRegistration(context.Context, *core.Registration) (*core.Registration, error)
	NewAuthorization(context.Context, *NewAuthorizationRequest) (*core.Authorization, error)
	NewCertificate(context.Context, *NewCertificateRequest) (*core.Certificate, error)
	UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*core.Registration, error)
	UpdateAuthorization(context.Context, *UpdateAuthorizationRequest) (*core.Authorization, error)
	RevokeCertificateWithReg(context.Context, *RevokeCertificateWithRegRequest) (*core.Empty, error)
	DeactivateRegistration(context.Context, *core.Registration) (*core.Empty, error)
	DeactivateAuthorization(context.Context, *core.Authorization) (*core.Empty, error)
	AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*core.Empty, error)
}

type RevokeCertificateWithRegRequest

type RevokeCertificateWithRegRequest struct {
	Cert             []byte `protobuf:"bytes,1,opt,name=cert" json:"cert,omitempty"`
	Code             *int64 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"`
	RegID            *int64 `protobuf:"varint,3,opt,name=regID" json:"regID,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*RevokeCertificateWithRegRequest) Descriptor

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

func (*RevokeCertificateWithRegRequest) GetCert

func (m *RevokeCertificateWithRegRequest) GetCert() []byte

func (*RevokeCertificateWithRegRequest) GetCode

func (*RevokeCertificateWithRegRequest) GetRegID

func (m *RevokeCertificateWithRegRequest) GetRegID() int64

func (*RevokeCertificateWithRegRequest) ProtoMessage

func (*RevokeCertificateWithRegRequest) ProtoMessage()

func (*RevokeCertificateWithRegRequest) Reset

func (*RevokeCertificateWithRegRequest) String

type UpdateAuthorizationRequest

type UpdateAuthorizationRequest struct {
	Authz            *core.Authorization `protobuf:"bytes,1,opt,name=authz" json:"authz,omitempty"`
	ChallengeIndex   *int64              `protobuf:"varint,2,opt,name=challengeIndex" json:"challengeIndex,omitempty"`
	Response         *core.Challenge     `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*UpdateAuthorizationRequest) Descriptor

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

func (*UpdateAuthorizationRequest) GetAuthz

func (*UpdateAuthorizationRequest) GetChallengeIndex

func (m *UpdateAuthorizationRequest) GetChallengeIndex() int64

func (*UpdateAuthorizationRequest) GetResponse

func (m *UpdateAuthorizationRequest) GetResponse() *core.Challenge

func (*UpdateAuthorizationRequest) ProtoMessage

func (*UpdateAuthorizationRequest) ProtoMessage()

func (*UpdateAuthorizationRequest) Reset

func (m *UpdateAuthorizationRequest) Reset()

func (*UpdateAuthorizationRequest) String

func (m *UpdateAuthorizationRequest) String() string

type UpdateRegistrationRequest

type UpdateRegistrationRequest struct {
	Base             *core.Registration `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
	Update           *core.Registration `protobuf:"bytes,2,opt,name=update" json:"update,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*UpdateRegistrationRequest) Descriptor

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

func (*UpdateRegistrationRequest) GetBase

func (*UpdateRegistrationRequest) GetUpdate

func (*UpdateRegistrationRequest) ProtoMessage

func (*UpdateRegistrationRequest) ProtoMessage()

func (*UpdateRegistrationRequest) Reset

func (m *UpdateRegistrationRequest) Reset()

func (*UpdateRegistrationRequest) String

func (m *UpdateRegistrationRequest) String() string

Jump to

Keyboard shortcuts

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