proto

package
v0.0.0-...-cfc7823 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2018 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:

ca/proto/ca.proto

It has these top-level messages:

IssueCertificateRequest
IssuePrecertificateResponse
IssueCertificateForPrecertificateRequest
GenerateOCSPRequest
OCSPResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCertificateAuthorityServer

func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)

func RegisterOCSPGeneratorServer

func RegisterOCSPGeneratorServer(s *grpc.Server, srv OCSPGeneratorServer)

Types

type CertificateAuthorityClient

type CertificateAuthorityClient interface {
	IssueCertificate(ctx context.Context, in *IssueCertificateRequest, opts ...grpc.CallOption) (*core.Certificate, error)
	IssuePrecertificate(ctx context.Context, in *IssueCertificateRequest, opts ...grpc.CallOption) (*IssuePrecertificateResponse, error)
	IssueCertificateForPrecertificate(ctx context.Context, in *IssueCertificateForPrecertificateRequest, opts ...grpc.CallOption) (*core.Certificate, error)
}

func NewCertificateAuthorityClient

func NewCertificateAuthorityClient(cc *grpc.ClientConn) CertificateAuthorityClient

type CertificateAuthorityServer

type CertificateAuthorityServer interface {
	IssueCertificate(context.Context, *IssueCertificateRequest) (*core.Certificate, error)
	IssuePrecertificate(context.Context, *IssueCertificateRequest) (*IssuePrecertificateResponse, error)
	IssueCertificateForPrecertificate(context.Context, *IssueCertificateForPrecertificateRequest) (*core.Certificate, error)
}

type GenerateOCSPRequest

type GenerateOCSPRequest struct {
	CertDER          []byte  `protobuf:"bytes,1,opt,name=certDER" json:"certDER,omitempty"`
	Status           *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	Reason           *int32  `protobuf:"varint,3,opt,name=reason" json:"reason,omitempty"`
	RevokedAt        *int64  `protobuf:"varint,4,opt,name=revokedAt" json:"revokedAt,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*GenerateOCSPRequest) Descriptor

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

func (*GenerateOCSPRequest) GetCertDER

func (m *GenerateOCSPRequest) GetCertDER() []byte

func (*GenerateOCSPRequest) GetReason

func (m *GenerateOCSPRequest) GetReason() int32

func (*GenerateOCSPRequest) GetRevokedAt

func (m *GenerateOCSPRequest) GetRevokedAt() int64

func (*GenerateOCSPRequest) GetStatus

func (m *GenerateOCSPRequest) GetStatus() string

func (*GenerateOCSPRequest) ProtoMessage

func (*GenerateOCSPRequest) ProtoMessage()

func (*GenerateOCSPRequest) Reset

func (m *GenerateOCSPRequest) Reset()

func (*GenerateOCSPRequest) String

func (m *GenerateOCSPRequest) String() string

type IssueCertificateForPrecertificateRequest

type IssueCertificateForPrecertificateRequest struct {
	IssueReq         *IssueCertificateRequest `protobuf:"bytes,1,opt,name=issueReq" json:"issueReq,omitempty"`
	PrecertDER       []byte                   `protobuf:"bytes,2,opt,name=precertDER" json:"precertDER,omitempty"`
	SCTs             [][]byte                 `protobuf:"bytes,3,rep,name=SCTs,json=sCTs" json:"SCTs,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*IssueCertificateForPrecertificateRequest) Descriptor

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

func (*IssueCertificateForPrecertificateRequest) GetIssueReq

func (*IssueCertificateForPrecertificateRequest) GetPrecertDER

func (m *IssueCertificateForPrecertificateRequest) GetPrecertDER() []byte

func (*IssueCertificateForPrecertificateRequest) GetSCTs

func (*IssueCertificateForPrecertificateRequest) ProtoMessage

func (*IssueCertificateForPrecertificateRequest) Reset

func (*IssueCertificateForPrecertificateRequest) String

type IssueCertificateRequest

type IssueCertificateRequest struct {
	Csr              []byte `protobuf:"bytes,1,opt,name=csr" json:"csr,omitempty"`
	RegistrationID   *int64 `protobuf:"varint,2,opt,name=registrationID" json:"registrationID,omitempty"`
	OrderID          *int64 `protobuf:"varint,3,opt,name=orderID" json:"orderID,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*IssueCertificateRequest) Descriptor

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

func (*IssueCertificateRequest) GetCsr

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

func (*IssueCertificateRequest) GetOrderID

func (m *IssueCertificateRequest) GetOrderID() int64

func (*IssueCertificateRequest) GetRegistrationID

func (m *IssueCertificateRequest) GetRegistrationID() int64

func (*IssueCertificateRequest) ProtoMessage

func (*IssueCertificateRequest) ProtoMessage()

func (*IssueCertificateRequest) Reset

func (m *IssueCertificateRequest) Reset()

func (*IssueCertificateRequest) String

func (m *IssueCertificateRequest) String() string

type IssuePrecertificateResponse

type IssuePrecertificateResponse struct {
	Precert           *core.Precertificate    `protobuf:"bytes,1,opt,name=precert" json:"precert,omitempty"`
	SctFetchingConfig *core.SCTFetchingConfig `protobuf:"bytes,2,opt,name=sctFetchingConfig" json:"sctFetchingConfig,omitempty"`
	XXX_unrecognized  []byte                  `json:"-"`
}

func (*IssuePrecertificateResponse) Descriptor

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

func (*IssuePrecertificateResponse) GetPrecert

func (*IssuePrecertificateResponse) GetSctFetchingConfig

func (m *IssuePrecertificateResponse) GetSctFetchingConfig() *core.SCTFetchingConfig

func (*IssuePrecertificateResponse) ProtoMessage

func (*IssuePrecertificateResponse) ProtoMessage()

func (*IssuePrecertificateResponse) Reset

func (m *IssuePrecertificateResponse) Reset()

func (*IssuePrecertificateResponse) String

func (m *IssuePrecertificateResponse) String() string

type OCSPGeneratorClient

type OCSPGeneratorClient interface {
	GenerateOCSP(ctx context.Context, in *GenerateOCSPRequest, opts ...grpc.CallOption) (*OCSPResponse, error)
}

func NewOCSPGeneratorClient

func NewOCSPGeneratorClient(cc *grpc.ClientConn) OCSPGeneratorClient

type OCSPGeneratorServer

type OCSPGeneratorServer interface {
	GenerateOCSP(context.Context, *GenerateOCSPRequest) (*OCSPResponse, error)
}

type OCSPResponse

type OCSPResponse struct {
	Response         []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*OCSPResponse) Descriptor

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

func (*OCSPResponse) GetResponse

func (m *OCSPResponse) GetResponse() []byte

func (*OCSPResponse) ProtoMessage

func (*OCSPResponse) ProtoMessage()

func (*OCSPResponse) Reset

func (m *OCSPResponse) Reset()

func (*OCSPResponse) String

func (m *OCSPResponse) String() string

Jump to

Keyboard shortcuts

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