boulder: github.com/letsencrypt/boulder/ca/proto Index | Files

package proto

import "github.com/letsencrypt/boulder/ca/proto"

Index

Package Files

ca.pb.go generate.go

Variables

var File_ca_proto_ca_proto protoreflect.FileDescriptor

func RegisterCertificateAuthorityServer Uses

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

func RegisterOCSPGeneratorServer Uses

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

type CertificateAuthorityClient Uses

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

CertificateAuthorityClient is the client API for CertificateAuthority service.

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

func NewCertificateAuthorityClient Uses

func NewCertificateAuthorityClient(cc grpc.ClientConnInterface) CertificateAuthorityClient

type CertificateAuthorityServer Uses

type CertificateAuthorityServer interface {
    IssuePrecertificate(context.Context, *IssueCertificateRequest) (*IssuePrecertificateResponse, error)
    IssueCertificateForPrecertificate(context.Context, *IssueCertificateForPrecertificateRequest) (*proto1.Certificate, error)
    GenerateOCSP(context.Context, *GenerateOCSPRequest) (*OCSPResponse, error)
}

CertificateAuthorityServer is the server API for CertificateAuthority service.

type GenerateOCSPRequest Uses

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"`
    Serial    *string `protobuf:"bytes,5,opt,name=serial" json:"serial,omitempty"`
    IssuerID  *int64  `protobuf:"varint,6,opt,name=issuerID" json:"issuerID,omitempty"`
    // contains filtered or unexported fields
}

Exactly one of certDER or [serial and issuerID] must be set.

func (*GenerateOCSPRequest) Descriptor Uses

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

Deprecated: Use GenerateOCSPRequest.ProtoReflect.Descriptor instead.

func (*GenerateOCSPRequest) GetCertDER Uses

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

func (*GenerateOCSPRequest) GetIssuerID Uses

func (x *GenerateOCSPRequest) GetIssuerID() int64

func (*GenerateOCSPRequest) GetReason Uses

func (x *GenerateOCSPRequest) GetReason() int32

func (*GenerateOCSPRequest) GetRevokedAt Uses

func (x *GenerateOCSPRequest) GetRevokedAt() int64

func (*GenerateOCSPRequest) GetSerial Uses

func (x *GenerateOCSPRequest) GetSerial() string

func (*GenerateOCSPRequest) GetStatus Uses

func (x *GenerateOCSPRequest) GetStatus() string

func (*GenerateOCSPRequest) ProtoMessage Uses

func (*GenerateOCSPRequest) ProtoMessage()

func (*GenerateOCSPRequest) ProtoReflect Uses

func (x *GenerateOCSPRequest) ProtoReflect() protoreflect.Message

func (*GenerateOCSPRequest) Reset Uses

func (x *GenerateOCSPRequest) Reset()

func (*GenerateOCSPRequest) String Uses

func (x *GenerateOCSPRequest) String() string

type IssueCertificateForPrecertificateRequest Uses

type IssueCertificateForPrecertificateRequest struct {
    DER            []byte   `protobuf:"bytes,1,opt,name=DER" json:"DER,omitempty"`
    SCTs           [][]byte `protobuf:"bytes,2,rep,name=SCTs" json:"SCTs,omitempty"`
    RegistrationID *int64   `protobuf:"varint,3,opt,name=registrationID" json:"registrationID,omitempty"`
    OrderID        *int64   `protobuf:"varint,4,opt,name=orderID" json:"orderID,omitempty"`
    // contains filtered or unexported fields
}

func (*IssueCertificateForPrecertificateRequest) Descriptor Uses

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

Deprecated: Use IssueCertificateForPrecertificateRequest.ProtoReflect.Descriptor instead.

func (*IssueCertificateForPrecertificateRequest) GetDER Uses

func (x *IssueCertificateForPrecertificateRequest) GetDER() []byte

func (*IssueCertificateForPrecertificateRequest) GetOrderID Uses

func (x *IssueCertificateForPrecertificateRequest) GetOrderID() int64

func (*IssueCertificateForPrecertificateRequest) GetRegistrationID Uses

func (x *IssueCertificateForPrecertificateRequest) GetRegistrationID() int64

func (*IssueCertificateForPrecertificateRequest) GetSCTs Uses

func (x *IssueCertificateForPrecertificateRequest) GetSCTs() [][]byte

func (*IssueCertificateForPrecertificateRequest) ProtoMessage Uses

func (*IssueCertificateForPrecertificateRequest) ProtoMessage()

func (*IssueCertificateForPrecertificateRequest) ProtoReflect Uses

func (x *IssueCertificateForPrecertificateRequest) ProtoReflect() protoreflect.Message

func (*IssueCertificateForPrecertificateRequest) Reset Uses

func (x *IssueCertificateForPrecertificateRequest) Reset()

func (*IssueCertificateForPrecertificateRequest) String Uses

func (x *IssueCertificateForPrecertificateRequest) String() string

type IssueCertificateRequest Uses

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"`
    // contains filtered or unexported fields
}

func (*IssueCertificateRequest) Descriptor Uses

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

Deprecated: Use IssueCertificateRequest.ProtoReflect.Descriptor instead.

func (*IssueCertificateRequest) GetCsr Uses

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

func (*IssueCertificateRequest) GetOrderID Uses

func (x *IssueCertificateRequest) GetOrderID() int64

func (*IssueCertificateRequest) GetRegistrationID Uses

func (x *IssueCertificateRequest) GetRegistrationID() int64

func (*IssueCertificateRequest) ProtoMessage Uses

func (*IssueCertificateRequest) ProtoMessage()

func (*IssueCertificateRequest) ProtoReflect Uses

func (x *IssueCertificateRequest) ProtoReflect() protoreflect.Message

func (*IssueCertificateRequest) Reset Uses

func (x *IssueCertificateRequest) Reset()

func (*IssueCertificateRequest) String Uses

func (x *IssueCertificateRequest) String() string

type IssuePrecertificateResponse Uses

type IssuePrecertificateResponse struct {
    DER []byte `protobuf:"bytes,1,opt,name=DER" json:"DER,omitempty"`
    // contains filtered or unexported fields
}

func (*IssuePrecertificateResponse) Descriptor Uses

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

Deprecated: Use IssuePrecertificateResponse.ProtoReflect.Descriptor instead.

func (*IssuePrecertificateResponse) GetDER Uses

func (x *IssuePrecertificateResponse) GetDER() []byte

func (*IssuePrecertificateResponse) ProtoMessage Uses

func (*IssuePrecertificateResponse) ProtoMessage()

func (*IssuePrecertificateResponse) ProtoReflect Uses

func (x *IssuePrecertificateResponse) ProtoReflect() protoreflect.Message

func (*IssuePrecertificateResponse) Reset Uses

func (x *IssuePrecertificateResponse) Reset()

func (*IssuePrecertificateResponse) String Uses

func (x *IssuePrecertificateResponse) String() string

type OCSPGeneratorClient Uses

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

OCSPGeneratorClient is the client API for OCSPGenerator service.

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

func NewOCSPGeneratorClient Uses

func NewOCSPGeneratorClient(cc grpc.ClientConnInterface) OCSPGeneratorClient

type OCSPGeneratorServer Uses

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

OCSPGeneratorServer is the server API for OCSPGenerator service.

type OCSPResponse Uses

type OCSPResponse struct {
    Response []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
    // contains filtered or unexported fields
}

func (*OCSPResponse) Descriptor Uses

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

Deprecated: Use OCSPResponse.ProtoReflect.Descriptor instead.

func (*OCSPResponse) GetResponse Uses

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

func (*OCSPResponse) ProtoMessage Uses

func (*OCSPResponse) ProtoMessage()

func (*OCSPResponse) ProtoReflect Uses

func (x *OCSPResponse) ProtoReflect() protoreflect.Message

func (*OCSPResponse) Reset Uses

func (x *OCSPResponse) Reset()

func (*OCSPResponse) String Uses

func (x *OCSPResponse) String() string

type UnimplementedCertificateAuthorityServer Uses

type UnimplementedCertificateAuthorityServer struct {
}

UnimplementedCertificateAuthorityServer can be embedded to have forward compatible implementations.

func (*UnimplementedCertificateAuthorityServer) GenerateOCSP Uses

func (*UnimplementedCertificateAuthorityServer) GenerateOCSP(context.Context, *GenerateOCSPRequest) (*OCSPResponse, error)

func (*UnimplementedCertificateAuthorityServer) IssueCertificateForPrecertificate Uses

func (*UnimplementedCertificateAuthorityServer) IssueCertificateForPrecertificate(context.Context, *IssueCertificateForPrecertificateRequest) (*proto1.Certificate, error)

func (*UnimplementedCertificateAuthorityServer) IssuePrecertificate Uses

func (*UnimplementedCertificateAuthorityServer) IssuePrecertificate(context.Context, *IssueCertificateRequest) (*IssuePrecertificateResponse, error)

type UnimplementedOCSPGeneratorServer Uses

type UnimplementedOCSPGeneratorServer struct {
}

UnimplementedOCSPGeneratorServer can be embedded to have forward compatible implementations.

func (*UnimplementedOCSPGeneratorServer) GenerateOCSP Uses

func (*UnimplementedOCSPGeneratorServer) GenerateOCSP(context.Context, *GenerateOCSPRequest) (*OCSPResponse, error)

Package proto imports 10 packages (graph) and is imported by 141 packages. Updated 2020-04-27. Refresh now. Tools for package owners.