Documentation ¶
Index ¶
- Variables
- func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)
- type CertificateAuthorityClient
- type CertificateAuthorityServer
- type SignCertificateRequest
- func (*SignCertificateRequest) Descriptor() ([]byte, []int)
- func (m *SignCertificateRequest) GetCertificateSigningRequest() []byte
- func (m *SignCertificateRequest) Marshal() (dAtA []byte, err error)
- func (m *SignCertificateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignCertificateRequest) ProtoMessage()
- func (m *SignCertificateRequest) Reset()
- func (m *SignCertificateRequest) Size() (n int)
- func (m *SignCertificateRequest) String() string
- func (m *SignCertificateRequest) Unmarshal(dAtA []byte) error
- func (m *SignCertificateRequest) XXX_DiscardUnknown()
- func (m *SignCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignCertificateRequest) XXX_Merge(src proto.Message)
- func (m *SignCertificateRequest) XXX_Size() int
- func (m *SignCertificateRequest) XXX_Unmarshal(b []byte) error
- type SignCertificateResponse
- func (*SignCertificateResponse) Descriptor() ([]byte, []int)
- func (m *SignCertificateResponse) GetCertificate() []byte
- func (m *SignCertificateResponse) Marshal() (dAtA []byte, err error)
- func (m *SignCertificateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignCertificateResponse) ProtoMessage()
- func (m *SignCertificateResponse) Reset()
- func (m *SignCertificateResponse) Size() (n int)
- func (m *SignCertificateResponse) String() string
- func (m *SignCertificateResponse) Unmarshal(dAtA []byte) error
- func (m *SignCertificateResponse) XXX_DiscardUnknown()
- func (m *SignCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignCertificateResponse) XXX_Merge(src proto.Message)
- func (m *SignCertificateResponse) XXX_Size() int
- func (m *SignCertificateResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCertificateAuthorityServer
- func (*UnimplementedCertificateAuthorityServer) SignCertificate(ctx context.Context, req *SignCertificateRequest) (*SignCertificateResponse, error)
- func (*UnimplementedCertificateAuthorityServer) SignIdentityCertificate(ctx context.Context, req *SignCertificateRequest) (*SignCertificateResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterCertificateAuthorityServer ¶
func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)
Types ¶
type CertificateAuthorityClient ¶
type CertificateAuthorityClient interface { // SignIdentityCertificate sends a Identity Certificate Signing Request to the certificate authority // and obtains a signed certificate. Both in the PEM format. It adds EKU: '1.3.6.1.4.1.44924.1.6' . SignIdentityCertificate(ctx context.Context, in *SignCertificateRequest, opts ...grpc.CallOption) (*SignCertificateResponse, error) // SignCertificate sends a Certificate Signing Request to the certificate authority // and obtains a signed certificate. Both in the PEM format. SignCertificate(ctx context.Context, in *SignCertificateRequest, opts ...grpc.CallOption) (*SignCertificateResponse, 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 ¶
func NewCertificateAuthorityClient(cc grpc.ClientConnInterface) CertificateAuthorityClient
type CertificateAuthorityServer ¶
type CertificateAuthorityServer interface { // SignIdentityCertificate sends a Identity Certificate Signing Request to the certificate authority // and obtains a signed certificate. Both in the PEM format. It adds EKU: '1.3.6.1.4.1.44924.1.6' . SignIdentityCertificate(context.Context, *SignCertificateRequest) (*SignCertificateResponse, error) // SignCertificate sends a Certificate Signing Request to the certificate authority // and obtains a signed certificate. Both in the PEM format. SignCertificate(context.Context, *SignCertificateRequest) (*SignCertificateResponse, error) }
CertificateAuthorityServer is the server API for CertificateAuthority service.
type SignCertificateRequest ¶
type SignCertificateRequest struct {
CertificateSigningRequest []byte `` /* 138-byte string literal not displayed */
}
func (*SignCertificateRequest) Descriptor ¶
func (*SignCertificateRequest) Descriptor() ([]byte, []int)
func (*SignCertificateRequest) GetCertificateSigningRequest ¶
func (m *SignCertificateRequest) GetCertificateSigningRequest() []byte
func (*SignCertificateRequest) Marshal ¶
func (m *SignCertificateRequest) Marshal() (dAtA []byte, err error)
func (*SignCertificateRequest) MarshalTo ¶
func (m *SignCertificateRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignCertificateRequest) MarshalToSizedBuffer ¶
func (m *SignCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignCertificateRequest) ProtoMessage ¶
func (*SignCertificateRequest) ProtoMessage()
func (*SignCertificateRequest) Reset ¶
func (m *SignCertificateRequest) Reset()
func (*SignCertificateRequest) Size ¶
func (m *SignCertificateRequest) Size() (n int)
func (*SignCertificateRequest) String ¶
func (m *SignCertificateRequest) String() string
func (*SignCertificateRequest) Unmarshal ¶
func (m *SignCertificateRequest) Unmarshal(dAtA []byte) error
func (*SignCertificateRequest) XXX_DiscardUnknown ¶
func (m *SignCertificateRequest) XXX_DiscardUnknown()
func (*SignCertificateRequest) XXX_Marshal ¶
func (m *SignCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignCertificateRequest) XXX_Merge ¶
func (m *SignCertificateRequest) XXX_Merge(src proto.Message)
func (*SignCertificateRequest) XXX_Size ¶
func (m *SignCertificateRequest) XXX_Size() int
func (*SignCertificateRequest) XXX_Unmarshal ¶
func (m *SignCertificateRequest) XXX_Unmarshal(b []byte) error
type SignCertificateResponse ¶
type SignCertificateResponse struct {
Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
}
func (*SignCertificateResponse) Descriptor ¶
func (*SignCertificateResponse) Descriptor() ([]byte, []int)
func (*SignCertificateResponse) GetCertificate ¶
func (m *SignCertificateResponse) GetCertificate() []byte
func (*SignCertificateResponse) Marshal ¶
func (m *SignCertificateResponse) Marshal() (dAtA []byte, err error)
func (*SignCertificateResponse) MarshalTo ¶
func (m *SignCertificateResponse) MarshalTo(dAtA []byte) (int, error)
func (*SignCertificateResponse) MarshalToSizedBuffer ¶
func (m *SignCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignCertificateResponse) ProtoMessage ¶
func (*SignCertificateResponse) ProtoMessage()
func (*SignCertificateResponse) Reset ¶
func (m *SignCertificateResponse) Reset()
func (*SignCertificateResponse) Size ¶
func (m *SignCertificateResponse) Size() (n int)
func (*SignCertificateResponse) String ¶
func (m *SignCertificateResponse) String() string
func (*SignCertificateResponse) Unmarshal ¶
func (m *SignCertificateResponse) Unmarshal(dAtA []byte) error
func (*SignCertificateResponse) XXX_DiscardUnknown ¶
func (m *SignCertificateResponse) XXX_DiscardUnknown()
func (*SignCertificateResponse) XXX_Marshal ¶
func (m *SignCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignCertificateResponse) XXX_Merge ¶
func (m *SignCertificateResponse) XXX_Merge(src proto.Message)
func (*SignCertificateResponse) XXX_Size ¶
func (m *SignCertificateResponse) XXX_Size() int
func (*SignCertificateResponse) XXX_Unmarshal ¶
func (m *SignCertificateResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCertificateAuthorityServer ¶
type UnimplementedCertificateAuthorityServer struct { }
UnimplementedCertificateAuthorityServer can be embedded to have forward compatible implementations.
func (*UnimplementedCertificateAuthorityServer) SignCertificate ¶
func (*UnimplementedCertificateAuthorityServer) SignCertificate(ctx context.Context, req *SignCertificateRequest) (*SignCertificateResponse, error)
func (*UnimplementedCertificateAuthorityServer) SignIdentityCertificate ¶
func (*UnimplementedCertificateAuthorityServer) SignIdentityCertificate(ctx context.Context, req *SignCertificateRequest) (*SignCertificateResponse, error)
Click to show internal directories.
Click to hide internal directories.