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

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

func (*AuthzMeta) Descriptor Uses

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

func (*AuthzMeta) GetId Uses

func (m *AuthzMeta) GetId() string

func (*AuthzMeta) GetRegID Uses

func (m *AuthzMeta) GetRegID() int64

func (*AuthzMeta) ProtoMessage Uses

func (*AuthzMeta) ProtoMessage()

func (*AuthzMeta) Reset Uses

func (m *AuthzMeta) Reset()

func (*AuthzMeta) String Uses

func (m *AuthzMeta) String() string

func (*AuthzMeta) XXX_DiscardUnknown Uses

func (m *AuthzMeta) XXX_DiscardUnknown()

func (*AuthzMeta) XXX_Marshal Uses

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

func (*AuthzMeta) XXX_Merge Uses

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

func (*AuthzMeta) XXX_Size Uses

func (m *AuthzMeta) XXX_Size() int

func (*AuthzMeta) XXX_Unmarshal Uses

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

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

func (*IsCAAValidRequest) Descriptor Uses

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

func (*IsCAAValidRequest) GetAccountURIID Uses

func (m *IsCAAValidRequest) GetAccountURIID() int64

func (*IsCAAValidRequest) GetDomain Uses

func (m *IsCAAValidRequest) GetDomain() string

func (*IsCAAValidRequest) GetValidationMethod Uses

func (m *IsCAAValidRequest) GetValidationMethod() string

func (*IsCAAValidRequest) ProtoMessage Uses

func (*IsCAAValidRequest) ProtoMessage()

func (*IsCAAValidRequest) Reset Uses

func (m *IsCAAValidRequest) Reset()

func (*IsCAAValidRequest) String Uses

func (m *IsCAAValidRequest) String() string

func (*IsCAAValidRequest) XXX_DiscardUnknown Uses

func (m *IsCAAValidRequest) XXX_DiscardUnknown()

func (*IsCAAValidRequest) XXX_Marshal Uses

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

func (*IsCAAValidRequest) XXX_Merge Uses

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

func (*IsCAAValidRequest) XXX_Size Uses

func (m *IsCAAValidRequest) XXX_Size() int

func (*IsCAAValidRequest) XXX_Unmarshal Uses

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

type IsCAAValidResponse Uses

type IsCAAValidResponse struct {
    Problem              *proto1.ProblemDetails `protobuf:"bytes,1,opt,name=problem" json:"problem,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

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

func (*IsCAAValidResponse) Descriptor Uses

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

func (*IsCAAValidResponse) GetProblem Uses

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

func (*IsCAAValidResponse) ProtoMessage Uses

func (*IsCAAValidResponse) ProtoMessage()

func (*IsCAAValidResponse) Reset Uses

func (m *IsCAAValidResponse) Reset()

func (*IsCAAValidResponse) String Uses

func (m *IsCAAValidResponse) String() string

func (*IsCAAValidResponse) XXX_DiscardUnknown Uses

func (m *IsCAAValidResponse) XXX_DiscardUnknown()

func (*IsCAAValidResponse) XXX_Marshal Uses

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

func (*IsCAAValidResponse) XXX_Merge Uses

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

func (*IsCAAValidResponse) XXX_Size Uses

func (m *IsCAAValidResponse) XXX_Size() int

func (*IsCAAValidResponse) XXX_Unmarshal Uses

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

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

func (*PerformValidationRequest) Descriptor Uses

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

func (*PerformValidationRequest) GetAuthz Uses

func (m *PerformValidationRequest) GetAuthz() *AuthzMeta

func (*PerformValidationRequest) GetChallenge Uses

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

func (*PerformValidationRequest) GetDomain Uses

func (m *PerformValidationRequest) GetDomain() string

func (*PerformValidationRequest) ProtoMessage Uses

func (*PerformValidationRequest) ProtoMessage()

func (*PerformValidationRequest) Reset Uses

func (m *PerformValidationRequest) Reset()

func (*PerformValidationRequest) String Uses

func (m *PerformValidationRequest) String() string

func (*PerformValidationRequest) XXX_DiscardUnknown Uses

func (m *PerformValidationRequest) XXX_DiscardUnknown()

func (*PerformValidationRequest) XXX_Marshal Uses

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

func (*PerformValidationRequest) XXX_Merge Uses

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

func (*PerformValidationRequest) XXX_Size Uses

func (m *PerformValidationRequest) XXX_Size() int

func (*PerformValidationRequest) XXX_Unmarshal Uses

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

type UnimplementedCAAServer Uses

type UnimplementedCAAServer struct {
}

UnimplementedCAAServer can be embedded to have forward compatible implementations.

func (*UnimplementedCAAServer) IsCAAValid Uses

func (*UnimplementedCAAServer) IsCAAValid(ctx context.Context, req *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(ctx context.Context, req *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.ClientConn) 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"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

func (*ValidationResult) Descriptor Uses

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

func (*ValidationResult) GetProblems Uses

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

func (*ValidationResult) GetRecords Uses

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

func (*ValidationResult) ProtoMessage Uses

func (*ValidationResult) ProtoMessage()

func (*ValidationResult) Reset Uses

func (m *ValidationResult) Reset()

func (*ValidationResult) String Uses

func (m *ValidationResult) String() string

func (*ValidationResult) XXX_DiscardUnknown Uses

func (m *ValidationResult) XXX_DiscardUnknown()

func (*ValidationResult) XXX_Marshal Uses

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

func (*ValidationResult) XXX_Merge Uses

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

func (*ValidationResult) XXX_Size Uses

func (m *ValidationResult) XXX_Size() int

func (*ValidationResult) XXX_Unmarshal Uses

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

Package proto imports 8 packages (graph) and is imported by 58 packages. Updated 2019-04-17. Refresh now. Tools for package owners.