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

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.ClientConn) 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GenerateOCSPRequest) Descriptor Uses

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

func (*GenerateOCSPRequest) GetCertDER Uses

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

func (*GenerateOCSPRequest) GetReason Uses

func (m *GenerateOCSPRequest) GetReason() int32

func (*GenerateOCSPRequest) GetRevokedAt Uses

func (m *GenerateOCSPRequest) GetRevokedAt() int64

func (*GenerateOCSPRequest) GetStatus Uses

func (m *GenerateOCSPRequest) GetStatus() string

func (*GenerateOCSPRequest) ProtoMessage Uses

func (*GenerateOCSPRequest) ProtoMessage()

func (*GenerateOCSPRequest) Reset Uses

func (m *GenerateOCSPRequest) Reset()

func (*GenerateOCSPRequest) String Uses

func (m *GenerateOCSPRequest) String() string

func (*GenerateOCSPRequest) XXX_DiscardUnknown Uses

func (m *GenerateOCSPRequest) XXX_DiscardUnknown()

func (*GenerateOCSPRequest) XXX_Marshal Uses

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

func (*GenerateOCSPRequest) XXX_Merge Uses

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

func (*GenerateOCSPRequest) XXX_Size Uses

func (m *GenerateOCSPRequest) XXX_Size() int

func (*GenerateOCSPRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*IssueCertificateForPrecertificateRequest) Descriptor Uses

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

func (*IssueCertificateForPrecertificateRequest) GetDER Uses

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

func (*IssueCertificateForPrecertificateRequest) GetOrderID Uses

func (m *IssueCertificateForPrecertificateRequest) GetOrderID() int64

func (*IssueCertificateForPrecertificateRequest) GetRegistrationID Uses

func (m *IssueCertificateForPrecertificateRequest) GetRegistrationID() int64

func (*IssueCertificateForPrecertificateRequest) GetSCTs Uses

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

func (*IssueCertificateForPrecertificateRequest) ProtoMessage Uses

func (*IssueCertificateForPrecertificateRequest) ProtoMessage()

func (*IssueCertificateForPrecertificateRequest) Reset Uses

func (m *IssueCertificateForPrecertificateRequest) Reset()

func (*IssueCertificateForPrecertificateRequest) String Uses

func (m *IssueCertificateForPrecertificateRequest) String() string

func (*IssueCertificateForPrecertificateRequest) XXX_DiscardUnknown Uses

func (m *IssueCertificateForPrecertificateRequest) XXX_DiscardUnknown()

func (*IssueCertificateForPrecertificateRequest) XXX_Marshal Uses

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

func (*IssueCertificateForPrecertificateRequest) XXX_Merge Uses

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

func (*IssueCertificateForPrecertificateRequest) XXX_Size Uses

func (m *IssueCertificateForPrecertificateRequest) XXX_Size() int

func (*IssueCertificateForPrecertificateRequest) XXX_Unmarshal Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*IssueCertificateRequest) Descriptor Uses

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

func (*IssueCertificateRequest) GetCsr Uses

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

func (*IssueCertificateRequest) GetOrderID Uses

func (m *IssueCertificateRequest) GetOrderID() int64

func (*IssueCertificateRequest) GetRegistrationID Uses

func (m *IssueCertificateRequest) GetRegistrationID() int64

func (*IssueCertificateRequest) ProtoMessage Uses

func (*IssueCertificateRequest) ProtoMessage()

func (*IssueCertificateRequest) Reset Uses

func (m *IssueCertificateRequest) Reset()

func (*IssueCertificateRequest) String Uses

func (m *IssueCertificateRequest) String() string

func (*IssueCertificateRequest) XXX_DiscardUnknown Uses

func (m *IssueCertificateRequest) XXX_DiscardUnknown()

func (*IssueCertificateRequest) XXX_Marshal Uses

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

func (*IssueCertificateRequest) XXX_Merge Uses

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

func (*IssueCertificateRequest) XXX_Size Uses

func (m *IssueCertificateRequest) XXX_Size() int

func (*IssueCertificateRequest) XXX_Unmarshal Uses

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

type IssuePrecertificateResponse Uses

type IssuePrecertificateResponse struct {
    DER                  []byte   `protobuf:"bytes,1,opt,name=DER" json:"DER,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*IssuePrecertificateResponse) Descriptor Uses

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

func (*IssuePrecertificateResponse) GetDER Uses

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

func (*IssuePrecertificateResponse) ProtoMessage Uses

func (*IssuePrecertificateResponse) ProtoMessage()

func (*IssuePrecertificateResponse) Reset Uses

func (m *IssuePrecertificateResponse) Reset()

func (*IssuePrecertificateResponse) String Uses

func (m *IssuePrecertificateResponse) String() string

func (*IssuePrecertificateResponse) XXX_DiscardUnknown Uses

func (m *IssuePrecertificateResponse) XXX_DiscardUnknown()

func (*IssuePrecertificateResponse) XXX_Marshal Uses

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

func (*IssuePrecertificateResponse) XXX_Merge Uses

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

func (*IssuePrecertificateResponse) XXX_Size Uses

func (m *IssuePrecertificateResponse) XXX_Size() int

func (*IssuePrecertificateResponse) XXX_Unmarshal Uses

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

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.ClientConn) 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*OCSPResponse) Descriptor Uses

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

func (*OCSPResponse) GetResponse Uses

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

func (*OCSPResponse) ProtoMessage Uses

func (*OCSPResponse) ProtoMessage()

func (*OCSPResponse) Reset Uses

func (m *OCSPResponse) Reset()

func (*OCSPResponse) String Uses

func (m *OCSPResponse) String() string

func (*OCSPResponse) XXX_DiscardUnknown Uses

func (m *OCSPResponse) XXX_DiscardUnknown()

func (*OCSPResponse) XXX_Marshal Uses

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

func (*OCSPResponse) XXX_Merge Uses

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

func (*OCSPResponse) XXX_Size Uses

func (m *OCSPResponse) XXX_Size() int

func (*OCSPResponse) XXX_Unmarshal Uses

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

type UnimplementedCertificateAuthorityServer Uses

type UnimplementedCertificateAuthorityServer struct {
}

UnimplementedCertificateAuthorityServer can be embedded to have forward compatible implementations.

func (*UnimplementedCertificateAuthorityServer) GenerateOCSP Uses

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

func (*UnimplementedCertificateAuthorityServer) IssueCertificateForPrecertificate Uses

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

func (*UnimplementedCertificateAuthorityServer) IssuePrecertificate Uses

func (*UnimplementedCertificateAuthorityServer) IssuePrecertificate(ctx context.Context, req *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(ctx context.Context, req *GenerateOCSPRequest) (*OCSPResponse, error)

Package proto imports 8 packages (graph) and is imported by 67 packages. Updated 2019-06-08. Refresh now. Tools for package owners.