Documentation ¶
Overview ¶
Package certificatepb contains protobuf definitions for certificate signing.
Index ¶
- func DRPCRegisterCertificates(mux drpc.Mux, impl DRPCCertificatesServer) error
- type DRPCCertificatesClient
- type DRPCCertificatesDescription
- type DRPCCertificatesServer
- type DRPCCertificatesUnimplementedServer
- type DRPCCertificates_SignStream
- type SigningRequest
- func (*SigningRequest) Descriptor() ([]byte, []int)
- func (m *SigningRequest) GetAuthToken() string
- func (m *SigningRequest) GetTimestamp() int64
- func (*SigningRequest) ProtoMessage()
- func (m *SigningRequest) Reset()
- func (m *SigningRequest) String() string
- func (m *SigningRequest) XXX_DiscardUnknown()
- func (m *SigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningRequest) XXX_Merge(src proto.Message)
- func (m *SigningRequest) XXX_Size() int
- func (m *SigningRequest) XXX_Unmarshal(b []byte) error
- type SigningResponse
- func (*SigningResponse) Descriptor() ([]byte, []int)
- func (m *SigningResponse) GetChain() [][]byte
- func (*SigningResponse) ProtoMessage()
- func (m *SigningResponse) Reset()
- func (m *SigningResponse) String() string
- func (m *SigningResponse) XXX_DiscardUnknown()
- func (m *SigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningResponse) XXX_Merge(src proto.Message)
- func (m *SigningResponse) XXX_Size() int
- func (m *SigningResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DRPCRegisterCertificates ¶
func DRPCRegisterCertificates(mux drpc.Mux, impl DRPCCertificatesServer) error
Types ¶
type DRPCCertificatesClient ¶
type DRPCCertificatesClient interface { DRPCConn() drpc.Conn Sign(ctx context.Context, in *SigningRequest) (*SigningResponse, error) }
func NewDRPCCertificatesClient ¶
func NewDRPCCertificatesClient(cc drpc.Conn) DRPCCertificatesClient
type DRPCCertificatesDescription ¶
type DRPCCertificatesDescription struct{}
func (DRPCCertificatesDescription) NumMethods ¶
func (DRPCCertificatesDescription) NumMethods() int
type DRPCCertificatesServer ¶
type DRPCCertificatesServer interface {
Sign(context.Context, *SigningRequest) (*SigningResponse, error)
}
type DRPCCertificatesUnimplementedServer ¶
type DRPCCertificatesUnimplementedServer struct{}
func (*DRPCCertificatesUnimplementedServer) Sign ¶
func (s *DRPCCertificatesUnimplementedServer) Sign(context.Context, *SigningRequest) (*SigningResponse, error)
type DRPCCertificates_SignStream ¶
type DRPCCertificates_SignStream interface { drpc.Stream SendAndClose(*SigningResponse) error }
type SigningRequest ¶
type SigningRequest struct { AuthToken string `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SigningRequest) Descriptor ¶
func (*SigningRequest) Descriptor() ([]byte, []int)
func (*SigningRequest) GetAuthToken ¶
func (m *SigningRequest) GetAuthToken() string
func (*SigningRequest) GetTimestamp ¶
func (m *SigningRequest) GetTimestamp() int64
func (*SigningRequest) ProtoMessage ¶
func (*SigningRequest) ProtoMessage()
func (*SigningRequest) Reset ¶
func (m *SigningRequest) Reset()
func (*SigningRequest) String ¶
func (m *SigningRequest) String() string
func (*SigningRequest) XXX_DiscardUnknown ¶
func (m *SigningRequest) XXX_DiscardUnknown()
func (*SigningRequest) XXX_Marshal ¶
func (m *SigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigningRequest) XXX_Merge ¶
func (m *SigningRequest) XXX_Merge(src proto.Message)
func (*SigningRequest) XXX_Size ¶
func (m *SigningRequest) XXX_Size() int
func (*SigningRequest) XXX_Unmarshal ¶
func (m *SigningRequest) XXX_Unmarshal(b []byte) error
type SigningResponse ¶
type SigningResponse struct { Chain [][]byte `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SigningResponse) Descriptor ¶
func (*SigningResponse) Descriptor() ([]byte, []int)
func (*SigningResponse) GetChain ¶
func (m *SigningResponse) GetChain() [][]byte
func (*SigningResponse) ProtoMessage ¶
func (*SigningResponse) ProtoMessage()
func (*SigningResponse) Reset ¶
func (m *SigningResponse) Reset()
func (*SigningResponse) String ¶
func (m *SigningResponse) String() string
func (*SigningResponse) XXX_DiscardUnknown ¶
func (m *SigningResponse) XXX_DiscardUnknown()
func (*SigningResponse) XXX_Marshal ¶
func (m *SigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigningResponse) XXX_Merge ¶
func (m *SigningResponse) XXX_Merge(src proto.Message)
func (*SigningResponse) XXX_Size ¶
func (m *SigningResponse) XXX_Size() int
func (*SigningResponse) XXX_Unmarshal ¶
func (m *SigningResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.