plugin

package
v1.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2019 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "consul-connect-ca"

Name is the name of the plugin that users of the package should use with *plugin.Client.Dispense to get the proper plugin instance.

Variables

View Source
var (
	ErrInvalidLengthProvider = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProvider   = fmt.Errorf("proto: integer overflow")
)

Functions

func ClientConfig

func ClientConfig() *plugin.ClientConfig

ClientConfig returns a base *plugin.ClientConfig that is configured to be able to dispense CA provider plugins. The returned value should be modified with additional options prior to execution (such as Cmd, Managed, etc.)

func RegisterCAServer

func RegisterCAServer(s *grpc.Server, srv CAServer)

func Serve

func Serve(p ca.Provider)

Serve serves a CA plugin. This function never returns and should be the final function called in the main function of the plugin.

Types

type ActiveIntermediateResponse

type ActiveIntermediateResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ActiveIntermediateResponse) Descriptor

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

func (*ActiveIntermediateResponse) GetCrtPem

func (m *ActiveIntermediateResponse) GetCrtPem() string

func (*ActiveIntermediateResponse) Marshal

func (m *ActiveIntermediateResponse) Marshal() (dAtA []byte, err error)

func (*ActiveIntermediateResponse) MarshalTo

func (m *ActiveIntermediateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActiveIntermediateResponse) ProtoMessage

func (*ActiveIntermediateResponse) ProtoMessage()

func (*ActiveIntermediateResponse) Reset

func (m *ActiveIntermediateResponse) Reset()

func (*ActiveIntermediateResponse) Size

func (m *ActiveIntermediateResponse) Size() (n int)

func (*ActiveIntermediateResponse) String

func (m *ActiveIntermediateResponse) String() string

func (*ActiveIntermediateResponse) Unmarshal

func (m *ActiveIntermediateResponse) Unmarshal(dAtA []byte) error

func (*ActiveIntermediateResponse) XXX_DiscardUnknown

func (m *ActiveIntermediateResponse) XXX_DiscardUnknown()

func (*ActiveIntermediateResponse) XXX_Marshal

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

func (*ActiveIntermediateResponse) XXX_Merge

func (dst *ActiveIntermediateResponse) XXX_Merge(src proto.Message)

func (*ActiveIntermediateResponse) XXX_Size

func (m *ActiveIntermediateResponse) XXX_Size() int

func (*ActiveIntermediateResponse) XXX_Unmarshal

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

type ActiveRootResponse

type ActiveRootResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ActiveRootResponse) Descriptor

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

func (*ActiveRootResponse) GetCrtPem

func (m *ActiveRootResponse) GetCrtPem() string

func (*ActiveRootResponse) Marshal

func (m *ActiveRootResponse) Marshal() (dAtA []byte, err error)

func (*ActiveRootResponse) MarshalTo

func (m *ActiveRootResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActiveRootResponse) ProtoMessage

func (*ActiveRootResponse) ProtoMessage()

func (*ActiveRootResponse) Reset

func (m *ActiveRootResponse) Reset()

func (*ActiveRootResponse) Size

func (m *ActiveRootResponse) Size() (n int)

func (*ActiveRootResponse) String

func (m *ActiveRootResponse) String() string

func (*ActiveRootResponse) Unmarshal

func (m *ActiveRootResponse) Unmarshal(dAtA []byte) error

func (*ActiveRootResponse) XXX_DiscardUnknown

func (m *ActiveRootResponse) XXX_DiscardUnknown()

func (*ActiveRootResponse) XXX_Marshal

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

func (*ActiveRootResponse) XXX_Merge

func (dst *ActiveRootResponse) XXX_Merge(src proto.Message)

func (*ActiveRootResponse) XXX_Size

func (m *ActiveRootResponse) XXX_Size() int

func (*ActiveRootResponse) XXX_Unmarshal

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

type CAClient

type CAClient interface {
	Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*Empty, error)
	GenerateRoot(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	ActiveRoot(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveRootResponse, error)
	GenerateIntermediateCSR(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateCSRResponse, error)
	SetIntermediate(ctx context.Context, in *SetIntermediateRequest, opts ...grpc.CallOption) (*Empty, error)
	ActiveIntermediate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveIntermediateResponse, error)
	GenerateIntermediate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
	SignIntermediate(ctx context.Context, in *SignIntermediateRequest, opts ...grpc.CallOption) (*SignIntermediateResponse, error)
	CrossSignCA(ctx context.Context, in *CrossSignCARequest, opts ...grpc.CallOption) (*CrossSignCAResponse, error)
	Cleanup(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

CAClient is the client API for CA service.

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

func NewCAClient

func NewCAClient(cc *grpc.ClientConn) CAClient

type CAServer

CAServer is the server API for CA service.

type ConfigureRPCRequest

type ConfigureRPCRequest struct {
	ClusterId string
	IsRoot    bool
	RawConfig map[string]interface{}
}

type ConfigureRequest

type ConfigureRequest struct {
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	IsRoot               bool     `protobuf:"varint,2,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"`
	Config               []byte   `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigureRequest) Descriptor

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

func (*ConfigureRequest) GetClusterId

func (m *ConfigureRequest) GetClusterId() string

func (*ConfigureRequest) GetConfig

func (m *ConfigureRequest) GetConfig() []byte

func (*ConfigureRequest) GetIsRoot

func (m *ConfigureRequest) GetIsRoot() bool

func (*ConfigureRequest) Marshal

func (m *ConfigureRequest) Marshal() (dAtA []byte, err error)

func (*ConfigureRequest) MarshalTo

func (m *ConfigureRequest) MarshalTo(dAtA []byte) (int, error)

func (*ConfigureRequest) ProtoMessage

func (*ConfigureRequest) ProtoMessage()

func (*ConfigureRequest) Reset

func (m *ConfigureRequest) Reset()

func (*ConfigureRequest) Size

func (m *ConfigureRequest) Size() (n int)

func (*ConfigureRequest) String

func (m *ConfigureRequest) String() string

func (*ConfigureRequest) Unmarshal

func (m *ConfigureRequest) Unmarshal(dAtA []byte) error

func (*ConfigureRequest) XXX_DiscardUnknown

func (m *ConfigureRequest) XXX_DiscardUnknown()

func (*ConfigureRequest) XXX_Marshal

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

func (*ConfigureRequest) XXX_Merge

func (dst *ConfigureRequest) XXX_Merge(src proto.Message)

func (*ConfigureRequest) XXX_Size

func (m *ConfigureRequest) XXX_Size() int

func (*ConfigureRequest) XXX_Unmarshal

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

type CrossSignCARequest

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

func (*CrossSignCARequest) Descriptor

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

func (*CrossSignCARequest) GetCrt

func (m *CrossSignCARequest) GetCrt() []byte

func (*CrossSignCARequest) Marshal

func (m *CrossSignCARequest) Marshal() (dAtA []byte, err error)

func (*CrossSignCARequest) MarshalTo

func (m *CrossSignCARequest) MarshalTo(dAtA []byte) (int, error)

func (*CrossSignCARequest) ProtoMessage

func (*CrossSignCARequest) ProtoMessage()

func (*CrossSignCARequest) Reset

func (m *CrossSignCARequest) Reset()

func (*CrossSignCARequest) Size

func (m *CrossSignCARequest) Size() (n int)

func (*CrossSignCARequest) String

func (m *CrossSignCARequest) String() string

func (*CrossSignCARequest) Unmarshal

func (m *CrossSignCARequest) Unmarshal(dAtA []byte) error

func (*CrossSignCARequest) XXX_DiscardUnknown

func (m *CrossSignCARequest) XXX_DiscardUnknown()

func (*CrossSignCARequest) XXX_Marshal

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

func (*CrossSignCARequest) XXX_Merge

func (dst *CrossSignCARequest) XXX_Merge(src proto.Message)

func (*CrossSignCARequest) XXX_Size

func (m *CrossSignCARequest) XXX_Size() int

func (*CrossSignCARequest) XXX_Unmarshal

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

type CrossSignCAResponse

type CrossSignCAResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CrossSignCAResponse) Descriptor

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

func (*CrossSignCAResponse) GetCrtPem

func (m *CrossSignCAResponse) GetCrtPem() string

func (*CrossSignCAResponse) Marshal

func (m *CrossSignCAResponse) Marshal() (dAtA []byte, err error)

func (*CrossSignCAResponse) MarshalTo

func (m *CrossSignCAResponse) MarshalTo(dAtA []byte) (int, error)

func (*CrossSignCAResponse) ProtoMessage

func (*CrossSignCAResponse) ProtoMessage()

func (*CrossSignCAResponse) Reset

func (m *CrossSignCAResponse) Reset()

func (*CrossSignCAResponse) Size

func (m *CrossSignCAResponse) Size() (n int)

func (*CrossSignCAResponse) String

func (m *CrossSignCAResponse) String() string

func (*CrossSignCAResponse) Unmarshal

func (m *CrossSignCAResponse) Unmarshal(dAtA []byte) error

func (*CrossSignCAResponse) XXX_DiscardUnknown

func (m *CrossSignCAResponse) XXX_DiscardUnknown()

func (*CrossSignCAResponse) XXX_Marshal

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

func (*CrossSignCAResponse) XXX_Merge

func (dst *CrossSignCAResponse) XXX_Merge(src proto.Message)

func (*CrossSignCAResponse) XXX_Size

func (m *CrossSignCAResponse) XXX_Size() int

func (*CrossSignCAResponse) XXX_Unmarshal

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

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Protobufs doesn't allow no req/resp so in the cases where there are no arguments we use the Empty message.

func (*Empty) Descriptor

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

func (*Empty) Marshal

func (m *Empty) Marshal() (dAtA []byte, err error)

func (*Empty) MarshalTo

func (m *Empty) MarshalTo(dAtA []byte) (int, error)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

func (m *Empty) Size() (n int)

func (*Empty) String

func (m *Empty) String() string

func (*Empty) Unmarshal

func (m *Empty) Unmarshal(dAtA []byte) error

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type GenerateIntermediateCSRResponse

type GenerateIntermediateCSRResponse struct {
	CsrPem               string   `protobuf:"bytes,1,opt,name=csr_pem,json=csrPem,proto3" json:"csr_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateIntermediateCSRResponse) Descriptor

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

func (*GenerateIntermediateCSRResponse) GetCsrPem

func (m *GenerateIntermediateCSRResponse) GetCsrPem() string

func (*GenerateIntermediateCSRResponse) Marshal

func (m *GenerateIntermediateCSRResponse) Marshal() (dAtA []byte, err error)

func (*GenerateIntermediateCSRResponse) MarshalTo

func (m *GenerateIntermediateCSRResponse) MarshalTo(dAtA []byte) (int, error)

func (*GenerateIntermediateCSRResponse) ProtoMessage

func (*GenerateIntermediateCSRResponse) ProtoMessage()

func (*GenerateIntermediateCSRResponse) Reset

func (*GenerateIntermediateCSRResponse) Size

func (m *GenerateIntermediateCSRResponse) Size() (n int)

func (*GenerateIntermediateCSRResponse) String

func (*GenerateIntermediateCSRResponse) Unmarshal

func (m *GenerateIntermediateCSRResponse) Unmarshal(dAtA []byte) error

func (*GenerateIntermediateCSRResponse) XXX_DiscardUnknown

func (m *GenerateIntermediateCSRResponse) XXX_DiscardUnknown()

func (*GenerateIntermediateCSRResponse) XXX_Marshal

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

func (*GenerateIntermediateCSRResponse) XXX_Merge

func (dst *GenerateIntermediateCSRResponse) XXX_Merge(src proto.Message)

func (*GenerateIntermediateCSRResponse) XXX_Size

func (m *GenerateIntermediateCSRResponse) XXX_Size() int

func (*GenerateIntermediateCSRResponse) XXX_Unmarshal

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

type GenerateIntermediateResponse

type GenerateIntermediateResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateIntermediateResponse) Descriptor

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

func (*GenerateIntermediateResponse) GetCrtPem

func (m *GenerateIntermediateResponse) GetCrtPem() string

func (*GenerateIntermediateResponse) Marshal

func (m *GenerateIntermediateResponse) Marshal() (dAtA []byte, err error)

func (*GenerateIntermediateResponse) MarshalTo

func (m *GenerateIntermediateResponse) MarshalTo(dAtA []byte) (int, error)

func (*GenerateIntermediateResponse) ProtoMessage

func (*GenerateIntermediateResponse) ProtoMessage()

func (*GenerateIntermediateResponse) Reset

func (m *GenerateIntermediateResponse) Reset()

func (*GenerateIntermediateResponse) Size

func (m *GenerateIntermediateResponse) Size() (n int)

func (*GenerateIntermediateResponse) String

func (*GenerateIntermediateResponse) Unmarshal

func (m *GenerateIntermediateResponse) Unmarshal(dAtA []byte) error

func (*GenerateIntermediateResponse) XXX_DiscardUnknown

func (m *GenerateIntermediateResponse) XXX_DiscardUnknown()

func (*GenerateIntermediateResponse) XXX_Marshal

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

func (*GenerateIntermediateResponse) XXX_Merge

func (dst *GenerateIntermediateResponse) XXX_Merge(src proto.Message)

func (*GenerateIntermediateResponse) XXX_Size

func (m *GenerateIntermediateResponse) XXX_Size() int

func (*GenerateIntermediateResponse) XXX_Unmarshal

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

type ProviderPlugin

type ProviderPlugin struct {
	Impl ca.Provider
}

ProviderPlugin implements plugin.Plugin for initializing a plugin server and client for both net/rpc and gRPC.

func (ProviderPlugin) Client

func (ProviderPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (ProviderPlugin) GRPCClient

func (ProviderPlugin) GRPCClient(doneCtx context.Context, _ *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)

func (ProviderPlugin) GRPCServer

func (p ProviderPlugin) GRPCServer(_ *plugin.GRPCBroker, s *grpc.Server) error

func (ProviderPlugin) Server

func (p ProviderPlugin) Server(*plugin.MuxBroker) (interface{}, error)

type SetIntermediateRPCRequest

type SetIntermediateRPCRequest struct {
	IntermediatePEM string
	RootPEM         string
}

type SetIntermediateRequest

type SetIntermediateRequest struct {
	IntermediatePem      string   `protobuf:"bytes,1,opt,name=intermediate_pem,json=intermediatePem,proto3" json:"intermediate_pem,omitempty"`
	RootPem              string   `protobuf:"bytes,2,opt,name=root_pem,json=rootPem,proto3" json:"root_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetIntermediateRequest) Descriptor

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

func (*SetIntermediateRequest) GetIntermediatePem

func (m *SetIntermediateRequest) GetIntermediatePem() string

func (*SetIntermediateRequest) GetRootPem

func (m *SetIntermediateRequest) GetRootPem() string

func (*SetIntermediateRequest) Marshal

func (m *SetIntermediateRequest) Marshal() (dAtA []byte, err error)

func (*SetIntermediateRequest) MarshalTo

func (m *SetIntermediateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetIntermediateRequest) ProtoMessage

func (*SetIntermediateRequest) ProtoMessage()

func (*SetIntermediateRequest) Reset

func (m *SetIntermediateRequest) Reset()

func (*SetIntermediateRequest) Size

func (m *SetIntermediateRequest) Size() (n int)

func (*SetIntermediateRequest) String

func (m *SetIntermediateRequest) String() string

func (*SetIntermediateRequest) Unmarshal

func (m *SetIntermediateRequest) Unmarshal(dAtA []byte) error

func (*SetIntermediateRequest) XXX_DiscardUnknown

func (m *SetIntermediateRequest) XXX_DiscardUnknown()

func (*SetIntermediateRequest) XXX_Marshal

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

func (*SetIntermediateRequest) XXX_Merge

func (dst *SetIntermediateRequest) XXX_Merge(src proto.Message)

func (*SetIntermediateRequest) XXX_Size

func (m *SetIntermediateRequest) XXX_Size() int

func (*SetIntermediateRequest) XXX_Unmarshal

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

type SignIntermediateRequest

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

func (*SignIntermediateRequest) Descriptor

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

func (*SignIntermediateRequest) GetCsr

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

func (*SignIntermediateRequest) Marshal

func (m *SignIntermediateRequest) Marshal() (dAtA []byte, err error)

func (*SignIntermediateRequest) MarshalTo

func (m *SignIntermediateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignIntermediateRequest) ProtoMessage

func (*SignIntermediateRequest) ProtoMessage()

func (*SignIntermediateRequest) Reset

func (m *SignIntermediateRequest) Reset()

func (*SignIntermediateRequest) Size

func (m *SignIntermediateRequest) Size() (n int)

func (*SignIntermediateRequest) String

func (m *SignIntermediateRequest) String() string

func (*SignIntermediateRequest) Unmarshal

func (m *SignIntermediateRequest) Unmarshal(dAtA []byte) error

func (*SignIntermediateRequest) XXX_DiscardUnknown

func (m *SignIntermediateRequest) XXX_DiscardUnknown()

func (*SignIntermediateRequest) XXX_Marshal

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

func (*SignIntermediateRequest) XXX_Merge

func (dst *SignIntermediateRequest) XXX_Merge(src proto.Message)

func (*SignIntermediateRequest) XXX_Size

func (m *SignIntermediateRequest) XXX_Size() int

func (*SignIntermediateRequest) XXX_Unmarshal

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

type SignIntermediateResponse

type SignIntermediateResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignIntermediateResponse) Descriptor

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

func (*SignIntermediateResponse) GetCrtPem

func (m *SignIntermediateResponse) GetCrtPem() string

func (*SignIntermediateResponse) Marshal

func (m *SignIntermediateResponse) Marshal() (dAtA []byte, err error)

func (*SignIntermediateResponse) MarshalTo

func (m *SignIntermediateResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignIntermediateResponse) ProtoMessage

func (*SignIntermediateResponse) ProtoMessage()

func (*SignIntermediateResponse) Reset

func (m *SignIntermediateResponse) Reset()

func (*SignIntermediateResponse) Size

func (m *SignIntermediateResponse) Size() (n int)

func (*SignIntermediateResponse) String

func (m *SignIntermediateResponse) String() string

func (*SignIntermediateResponse) Unmarshal

func (m *SignIntermediateResponse) Unmarshal(dAtA []byte) error

func (*SignIntermediateResponse) XXX_DiscardUnknown

func (m *SignIntermediateResponse) XXX_DiscardUnknown()

func (*SignIntermediateResponse) XXX_Marshal

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

func (*SignIntermediateResponse) XXX_Merge

func (dst *SignIntermediateResponse) XXX_Merge(src proto.Message)

func (*SignIntermediateResponse) XXX_Size

func (m *SignIntermediateResponse) XXX_Size() int

func (*SignIntermediateResponse) XXX_Unmarshal

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

type SignRequest

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

func (*SignRequest) Descriptor

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

func (*SignRequest) GetCsr

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

func (*SignRequest) Marshal

func (m *SignRequest) Marshal() (dAtA []byte, err error)

func (*SignRequest) MarshalTo

func (m *SignRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) Size

func (m *SignRequest) Size() (n int)

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) Unmarshal

func (m *SignRequest) Unmarshal(dAtA []byte) error

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

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

func (*SignRequest) XXX_Merge

func (dst *SignRequest) XXX_Merge(src proto.Message)

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

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

type SignResponse

type SignResponse struct {
	CrtPem               string   `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetCrtPem

func (m *SignResponse) GetCrtPem() string

func (*SignResponse) Marshal

func (m *SignResponse) Marshal() (dAtA []byte, err error)

func (*SignResponse) MarshalTo

func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) Size

func (m *SignResponse) Size() (n int)

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) Unmarshal

func (m *SignResponse) Unmarshal(dAtA []byte) error

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

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

func (*SignResponse) XXX_Merge

func (dst *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL