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 ¶
- func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)
- func RegisterOCSPGeneratorServer(s *grpc.Server, srv OCSPGeneratorServer)
- type CertificateAuthorityClient
- type CertificateAuthorityServer
- type GenerateOCSPRequest
- func (*GenerateOCSPRequest) Descriptor() ([]byte, []int)
- func (m *GenerateOCSPRequest) GetCertDER() []byte
- func (m *GenerateOCSPRequest) GetReason() int32
- func (m *GenerateOCSPRequest) GetRevokedAt() int64
- func (m *GenerateOCSPRequest) GetStatus() string
- func (*GenerateOCSPRequest) ProtoMessage()
- func (m *GenerateOCSPRequest) Reset()
- func (m *GenerateOCSPRequest) String() string
- type IssueCertificateForPrecertificateRequest
- func (*IssueCertificateForPrecertificateRequest) Descriptor() ([]byte, []int)
- func (m *IssueCertificateForPrecertificateRequest) GetIssueReq() *IssueCertificateRequest
- func (m *IssueCertificateForPrecertificateRequest) GetPrecertDER() []byte
- func (m *IssueCertificateForPrecertificateRequest) GetSCTs() [][]byte
- func (*IssueCertificateForPrecertificateRequest) ProtoMessage()
- func (m *IssueCertificateForPrecertificateRequest) Reset()
- func (m *IssueCertificateForPrecertificateRequest) String() string
- type IssueCertificateRequest
- func (*IssueCertificateRequest) Descriptor() ([]byte, []int)
- func (m *IssueCertificateRequest) GetCsr() []byte
- func (m *IssueCertificateRequest) GetOrderID() int64
- func (m *IssueCertificateRequest) GetRegistrationID() int64
- func (*IssueCertificateRequest) ProtoMessage()
- func (m *IssueCertificateRequest) Reset()
- func (m *IssueCertificateRequest) String() string
- type IssuePrecertificateResponse
- func (*IssuePrecertificateResponse) Descriptor() ([]byte, []int)
- func (m *IssuePrecertificateResponse) GetPrecert() *core.Precertificate
- func (m *IssuePrecertificateResponse) GetSctFetchingConfig() *core.SCTFetchingConfig
- func (*IssuePrecertificateResponse) ProtoMessage()
- func (m *IssuePrecertificateResponse) Reset()
- func (m *IssuePrecertificateResponse) String() string
- type OCSPGeneratorClient
- type OCSPGeneratorServer
- type OCSPResponse
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 (m *IssueCertificateForPrecertificateRequest) GetIssueReq() *IssueCertificateRequest
func (*IssueCertificateForPrecertificateRequest) GetPrecertDER ¶
func (m *IssueCertificateForPrecertificateRequest) GetPrecertDER() []byte
func (*IssueCertificateForPrecertificateRequest) GetSCTs ¶
func (m *IssueCertificateForPrecertificateRequest) GetSCTs() [][]byte
func (*IssueCertificateForPrecertificateRequest) ProtoMessage ¶
func (*IssueCertificateForPrecertificateRequest) ProtoMessage()
func (*IssueCertificateForPrecertificateRequest) Reset ¶
func (m *IssueCertificateForPrecertificateRequest) Reset()
func (*IssueCertificateForPrecertificateRequest) String ¶
func (m *IssueCertificateForPrecertificateRequest) String() 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 (m *IssuePrecertificateResponse) GetPrecert() *core.Precertificate
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
Click to show internal directories.
Click to hide internal directories.