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

package proto

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

Index

Package Files

generate.go va.pb.go

Variables

var File_va_proto_va_proto protoreflect.FileDescriptor

func RegisterCAAServer Uses

func RegisterCAAServer(s *grpc.Server, srv CAAServer)

func RegisterVAServer Uses

func RegisterVAServer(s *grpc.Server, srv VAServer)

type AuthzMeta Uses

type AuthzMeta struct {
    Id    *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
    RegID *int64  `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"`
    // contains filtered or unexported fields
}

func (*AuthzMeta) Descriptor Uses

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

Deprecated: Use AuthzMeta.ProtoReflect.Descriptor instead.

func (*AuthzMeta) GetId Uses

func (x *AuthzMeta) GetId() string

func (*AuthzMeta) GetRegID Uses

func (x *AuthzMeta) GetRegID() int64

func (*AuthzMeta) ProtoMessage Uses

func (*AuthzMeta) ProtoMessage()

func (*AuthzMeta) ProtoReflect Uses

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

func (*AuthzMeta) Reset Uses

func (x *AuthzMeta) Reset()

func (*AuthzMeta) String Uses

func (x *AuthzMeta) String() string

type CAAClient Uses

type CAAClient interface {
    IsCAAValid(ctx context.Context, in *IsCAAValidRequest, opts ...grpc.CallOption) (*IsCAAValidResponse, error)
}

CAAClient is the client API for CAA service.

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

func NewCAAClient Uses

func NewCAAClient(cc grpc.ClientConnInterface) CAAClient

type CAAServer Uses

type CAAServer interface {
    IsCAAValid(context.Context, *IsCAAValidRequest) (*IsCAAValidResponse, error)
}

CAAServer is the server API for CAA service.

type IsCAAValidRequest Uses

type IsCAAValidRequest struct {

    // NOTE: Domain may be a name with a wildcard prefix (e.g. `*.example.com`)
    Domain           *string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
    ValidationMethod *string `protobuf:"bytes,2,opt,name=validationMethod" json:"validationMethod,omitempty"`
    AccountURIID     *int64  `protobuf:"varint,3,opt,name=accountURIID" json:"accountURIID,omitempty"`
    // contains filtered or unexported fields
}

func (*IsCAAValidRequest) Descriptor Uses

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

Deprecated: Use IsCAAValidRequest.ProtoReflect.Descriptor instead.

func (*IsCAAValidRequest) GetAccountURIID Uses

func (x *IsCAAValidRequest) GetAccountURIID() int64

func (*IsCAAValidRequest) GetDomain Uses

func (x *IsCAAValidRequest) GetDomain() string

func (*IsCAAValidRequest) GetValidationMethod Uses

func (x *IsCAAValidRequest) GetValidationMethod() string

func (*IsCAAValidRequest) ProtoMessage Uses

func (*IsCAAValidRequest) ProtoMessage()

func (*IsCAAValidRequest) ProtoReflect Uses

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

func (*IsCAAValidRequest) Reset Uses

func (x *IsCAAValidRequest) Reset()

func (*IsCAAValidRequest) String Uses

func (x *IsCAAValidRequest) String() string

type IsCAAValidResponse Uses

type IsCAAValidResponse struct {
    Problem *proto1.ProblemDetails `protobuf:"bytes,1,opt,name=problem" json:"problem,omitempty"`
    // contains filtered or unexported fields
}

If CAA is valid for the requested domain, the problem will be empty

func (*IsCAAValidResponse) Descriptor Uses

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

Deprecated: Use IsCAAValidResponse.ProtoReflect.Descriptor instead.

func (*IsCAAValidResponse) GetProblem Uses

func (x *IsCAAValidResponse) GetProblem() *proto1.ProblemDetails

func (*IsCAAValidResponse) ProtoMessage Uses

func (*IsCAAValidResponse) ProtoMessage()

func (*IsCAAValidResponse) ProtoReflect Uses

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

func (*IsCAAValidResponse) Reset Uses

func (x *IsCAAValidResponse) Reset()

func (*IsCAAValidResponse) String Uses

func (x *IsCAAValidResponse) String() string

type PerformValidationRequest Uses

type PerformValidationRequest struct {
    Domain    *string           `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
    Challenge *proto1.Challenge `protobuf:"bytes,2,opt,name=challenge" json:"challenge,omitempty"`
    Authz     *AuthzMeta        `protobuf:"bytes,3,opt,name=authz" json:"authz,omitempty"`
    // contains filtered or unexported fields
}

func (*PerformValidationRequest) Descriptor Uses

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

Deprecated: Use PerformValidationRequest.ProtoReflect.Descriptor instead.

func (*PerformValidationRequest) GetAuthz Uses

func (x *PerformValidationRequest) GetAuthz() *AuthzMeta

func (*PerformValidationRequest) GetChallenge Uses

func (x *PerformValidationRequest) GetChallenge() *proto1.Challenge

func (*PerformValidationRequest) GetDomain Uses

func (x *PerformValidationRequest) GetDomain() string

func (*PerformValidationRequest) ProtoMessage Uses

func (*PerformValidationRequest) ProtoMessage()

func (*PerformValidationRequest) ProtoReflect Uses

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

func (*PerformValidationRequest) Reset Uses

func (x *PerformValidationRequest) Reset()

func (*PerformValidationRequest) String Uses

func (x *PerformValidationRequest) String() string

type UnimplementedCAAServer Uses

type UnimplementedCAAServer struct {
}

UnimplementedCAAServer can be embedded to have forward compatible implementations.

func (*UnimplementedCAAServer) IsCAAValid Uses

func (*UnimplementedCAAServer) IsCAAValid(context.Context, *IsCAAValidRequest) (*IsCAAValidResponse, error)

type UnimplementedVAServer Uses

type UnimplementedVAServer struct {
}

UnimplementedVAServer can be embedded to have forward compatible implementations.

func (*UnimplementedVAServer) PerformValidation Uses

func (*UnimplementedVAServer) PerformValidation(context.Context, *PerformValidationRequest) (*ValidationResult, error)

type VAClient Uses

type VAClient interface {
    PerformValidation(ctx context.Context, in *PerformValidationRequest, opts ...grpc.CallOption) (*ValidationResult, error)
}

VAClient is the client API for VA service.

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

func NewVAClient Uses

func NewVAClient(cc grpc.ClientConnInterface) VAClient

type VAServer Uses

type VAServer interface {
    PerformValidation(context.Context, *PerformValidationRequest) (*ValidationResult, error)
}

VAServer is the server API for VA service.

type ValidationResult Uses

type ValidationResult struct {
    Records  []*proto1.ValidationRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
    Problems *proto1.ProblemDetails     `protobuf:"bytes,2,opt,name=problems" json:"problems,omitempty"`
    // contains filtered or unexported fields
}

func (*ValidationResult) Descriptor Uses

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

Deprecated: Use ValidationResult.ProtoReflect.Descriptor instead.

func (*ValidationResult) GetProblems Uses

func (x *ValidationResult) GetProblems() *proto1.ProblemDetails

func (*ValidationResult) GetRecords Uses

func (x *ValidationResult) GetRecords() []*proto1.ValidationRecord

func (*ValidationResult) ProtoMessage Uses

func (*ValidationResult) ProtoMessage()

func (*ValidationResult) ProtoReflect Uses

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

func (*ValidationResult) Reset Uses

func (x *ValidationResult) Reset()

func (*ValidationResult) String Uses

func (x *ValidationResult) String() string

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