Documentation ¶
Index ¶
- Variables
- func DRPCRegisterCertServer(mux drpc.Mux, impl DRPCCertServerServer) error
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetFp() string
- func (x *Certificate) GetHasOcspStapling() bool
- func (x *Certificate) GetNotAfterSec() int64
- func (x *Certificate) GetNotBeforeSec() int64
- func (x *Certificate) GetPrivKey() string
- func (x *Certificate) GetPubKey() string
- func (x *Certificate) GetTtlSec() int64
- func (x *Certificate) GetType() int32
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type Certificate_Type
- func (Certificate_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Certificate_Type) Enum() *Certificate_Type
- func (Certificate_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Certificate_Type) Number() protoreflect.EnumNumber
- func (x Certificate_Type) String() string
- func (Certificate_Type) Type() protoreflect.EnumType
- type DRPCCertServerClient
- type DRPCCertServerDescription
- type DRPCCertServerServer
- type DRPCCertServerUnimplementedServer
- type DRPCCertServer_GetCertificateStream
- type DRPCCertServer_GetOCSPStaplingStream
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetDomain() string
- func (x *GetCertificateRequest) GetIsAlpn() bool
- func (x *GetCertificateRequest) GetName() string
- func (x *GetCertificateRequest) GetWantOcspStapling() bool
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- type GetCertificateResponse
- func (*GetCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateResponse) GetCert() *Certificate
- func (x *GetCertificateResponse) GetOcspStapling() *OCSPStapling
- func (*GetCertificateResponse) ProtoMessage()
- func (x *GetCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *GetCertificateResponse) Reset()
- func (x *GetCertificateResponse) String() string
- type GetOCSPStaplingRequest
- func (*GetOCSPStaplingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCSPStaplingRequest) GetDomain() string
- func (x *GetOCSPStaplingRequest) GetFingerprint() string
- func (*GetOCSPStaplingRequest) ProtoMessage()
- func (x *GetOCSPStaplingRequest) ProtoReflect() protoreflect.Message
- func (x *GetOCSPStaplingRequest) Reset()
- func (x *GetOCSPStaplingRequest) String() string
- type GetOCSPStaplingResponse
- func (*GetOCSPStaplingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCSPStaplingResponse) GetOcspStapling() *OCSPStapling
- func (*GetOCSPStaplingResponse) ProtoMessage()
- func (x *GetOCSPStaplingResponse) ProtoReflect() protoreflect.Message
- func (x *GetOCSPStaplingResponse) Reset()
- func (x *GetOCSPStaplingResponse) String() string
- type OCSPStapling
- func (*OCSPStapling) Descriptor() ([]byte, []int)deprecated
- func (x *OCSPStapling) GetNextUpdateSec() int64
- func (x *OCSPStapling) GetRaw() []byte
- func (x *OCSPStapling) GetTtlSec() int64
- func (*OCSPStapling) ProtoMessage()
- func (x *OCSPStapling) ProtoReflect() protoreflect.Message
- func (x *OCSPStapling) Reset()
- func (x *OCSPStapling) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Certificate_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ALPN", 2: "SELF_SIGNED", 3: "MANAGED", 11: "ACME_ON_DEMAND", 12: "ACME_NAMED", } Certificate_Type_value = map[string]int32{ "UNKNOWN": 0, "ALPN": 1, "SELF_SIGNED": 2, "MANAGED": 3, "ACME_ON_DEMAND": 11, "ACME_NAMED": 12, } )
Enum value maps for Certificate_Type.
View Source
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterCertServer ¶
func DRPCRegisterCertServer(mux drpc.Mux, impl DRPCCertServerServer) error
Types ¶
type Certificate ¶
type Certificate struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` PrivKey string `protobuf:"bytes,3,opt,name=priv_key,json=privKey,proto3" json:"priv_key,omitempty"` Fp string `protobuf:"bytes,4,opt,name=fp,proto3" json:"fp,omitempty"` NotBeforeSec int64 `protobuf:"varint,5,opt,name=not_before_sec,json=notBeforeSec,proto3" json:"not_before_sec,omitempty"` NotAfterSec int64 `protobuf:"varint,6,opt,name=not_after_sec,json=notAfterSec,proto3" json:"not_after_sec,omitempty"` TtlSec int64 `protobuf:"varint,7,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"` HasOcspStapling bool `protobuf:"varint,8,opt,name=has_ocsp_stapling,json=hasOcspStapling,proto3" json:"has_ocsp_stapling,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetFp ¶
func (x *Certificate) GetFp() string
func (*Certificate) GetHasOcspStapling ¶
func (x *Certificate) GetHasOcspStapling() bool
func (*Certificate) GetNotAfterSec ¶
func (x *Certificate) GetNotAfterSec() int64
func (*Certificate) GetNotBeforeSec ¶
func (x *Certificate) GetNotBeforeSec() int64
func (*Certificate) GetPrivKey ¶
func (x *Certificate) GetPrivKey() string
func (*Certificate) GetPubKey ¶
func (x *Certificate) GetPubKey() string
func (*Certificate) GetTtlSec ¶
func (x *Certificate) GetTtlSec() int64
func (*Certificate) GetType ¶
func (x *Certificate) GetType() int32
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type Certificate_Type ¶
type Certificate_Type int32
const ( Certificate_UNKNOWN Certificate_Type = 0 Certificate_ALPN Certificate_Type = 1 Certificate_SELF_SIGNED Certificate_Type = 2 Certificate_MANAGED Certificate_Type = 3 Certificate_ACME_ON_DEMAND Certificate_Type = 11 Certificate_ACME_NAMED Certificate_Type = 12 )
func (Certificate_Type) Descriptor ¶
func (Certificate_Type) Descriptor() protoreflect.EnumDescriptor
func (Certificate_Type) Enum ¶
func (x Certificate_Type) Enum() *Certificate_Type
func (Certificate_Type) EnumDescriptor
deprecated
func (Certificate_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Certificate_Type.Descriptor instead.
func (Certificate_Type) Number ¶
func (x Certificate_Type) Number() protoreflect.EnumNumber
func (Certificate_Type) String ¶
func (x Certificate_Type) String() string
func (Certificate_Type) Type ¶
func (Certificate_Type) Type() protoreflect.EnumType
type DRPCCertServerClient ¶
type DRPCCertServerClient interface { DRPCConn() drpc.Conn GetCertificate(ctx context.Context, in *GetCertificateRequest) (*GetCertificateResponse, error) GetOCSPStapling(ctx context.Context, in *GetOCSPStaplingRequest) (*GetOCSPStaplingResponse, error) }
func NewDRPCCertServerClient ¶
func NewDRPCCertServerClient(cc drpc.Conn) DRPCCertServerClient
type DRPCCertServerDescription ¶
type DRPCCertServerDescription struct{}
func (DRPCCertServerDescription) NumMethods ¶
func (DRPCCertServerDescription) NumMethods() int
type DRPCCertServerServer ¶
type DRPCCertServerServer interface { GetCertificate(context.Context, *GetCertificateRequest) (*GetCertificateResponse, error) GetOCSPStapling(context.Context, *GetOCSPStaplingRequest) (*GetOCSPStaplingResponse, error) }
type DRPCCertServerUnimplementedServer ¶
type DRPCCertServerUnimplementedServer struct{}
func (*DRPCCertServerUnimplementedServer) GetCertificate ¶
func (s *DRPCCertServerUnimplementedServer) GetCertificate(context.Context, *GetCertificateRequest) (*GetCertificateResponse, error)
func (*DRPCCertServerUnimplementedServer) GetOCSPStapling ¶
func (s *DRPCCertServerUnimplementedServer) GetOCSPStapling(context.Context, *GetOCSPStaplingRequest) (*GetOCSPStaplingResponse, error)
type DRPCCertServer_GetCertificateStream ¶
type DRPCCertServer_GetCertificateStream interface { drpc.Stream SendAndClose(*GetCertificateResponse) error }
type DRPCCertServer_GetOCSPStaplingStream ¶
type DRPCCertServer_GetOCSPStaplingStream interface { drpc.Stream SendAndClose(*GetOCSPStaplingResponse) error }
type GetCertificateRequest ¶
type GetCertificateRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsAlpn bool `protobuf:"varint,11,opt,name=is_alpn,json=isAlpn,proto3" json:"is_alpn,omitempty"` WantOcspStapling bool `protobuf:"varint,12,opt,name=want_ocsp_stapling,json=wantOcspStapling,proto3" json:"want_ocsp_stapling,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateRequest) Descriptor
deprecated
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetDomain ¶
func (x *GetCertificateRequest) GetDomain() string
func (*GetCertificateRequest) GetIsAlpn ¶
func (x *GetCertificateRequest) GetIsAlpn() bool
func (*GetCertificateRequest) GetName ¶
func (x *GetCertificateRequest) GetName() string
func (*GetCertificateRequest) GetWantOcspStapling ¶
func (x *GetCertificateRequest) GetWantOcspStapling() bool
func (*GetCertificateRequest) ProtoMessage ¶
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String ¶
func (x *GetCertificateRequest) String() string
type GetCertificateResponse ¶
type GetCertificateResponse struct { Cert *Certificate `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` OcspStapling *OCSPStapling `protobuf:"bytes,3,opt,name=ocsp_stapling,json=ocspStapling,proto3" json:"ocsp_stapling,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateResponse) Descriptor
deprecated
func (*GetCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateResponse.ProtoReflect.Descriptor instead.
func (*GetCertificateResponse) GetCert ¶
func (x *GetCertificateResponse) GetCert() *Certificate
func (*GetCertificateResponse) GetOcspStapling ¶
func (x *GetCertificateResponse) GetOcspStapling() *OCSPStapling
func (*GetCertificateResponse) ProtoMessage ¶
func (*GetCertificateResponse) ProtoMessage()
func (*GetCertificateResponse) ProtoReflect ¶
func (x *GetCertificateResponse) ProtoReflect() protoreflect.Message
func (*GetCertificateResponse) Reset ¶
func (x *GetCertificateResponse) Reset()
func (*GetCertificateResponse) String ¶
func (x *GetCertificateResponse) String() string
type GetOCSPStaplingRequest ¶
type GetOCSPStaplingRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*GetOCSPStaplingRequest) Descriptor
deprecated
func (*GetOCSPStaplingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOCSPStaplingRequest.ProtoReflect.Descriptor instead.
func (*GetOCSPStaplingRequest) GetDomain ¶
func (x *GetOCSPStaplingRequest) GetDomain() string
func (*GetOCSPStaplingRequest) GetFingerprint ¶
func (x *GetOCSPStaplingRequest) GetFingerprint() string
func (*GetOCSPStaplingRequest) ProtoMessage ¶
func (*GetOCSPStaplingRequest) ProtoMessage()
func (*GetOCSPStaplingRequest) ProtoReflect ¶
func (x *GetOCSPStaplingRequest) ProtoReflect() protoreflect.Message
func (*GetOCSPStaplingRequest) Reset ¶
func (x *GetOCSPStaplingRequest) Reset()
func (*GetOCSPStaplingRequest) String ¶
func (x *GetOCSPStaplingRequest) String() string
type GetOCSPStaplingResponse ¶
type GetOCSPStaplingResponse struct { OcspStapling *OCSPStapling `protobuf:"bytes,1,opt,name=ocsp_stapling,json=ocspStapling,proto3" json:"ocsp_stapling,omitempty"` // contains filtered or unexported fields }
func (*GetOCSPStaplingResponse) Descriptor
deprecated
func (*GetOCSPStaplingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOCSPStaplingResponse.ProtoReflect.Descriptor instead.
func (*GetOCSPStaplingResponse) GetOcspStapling ¶
func (x *GetOCSPStaplingResponse) GetOcspStapling() *OCSPStapling
func (*GetOCSPStaplingResponse) ProtoMessage ¶
func (*GetOCSPStaplingResponse) ProtoMessage()
func (*GetOCSPStaplingResponse) ProtoReflect ¶
func (x *GetOCSPStaplingResponse) ProtoReflect() protoreflect.Message
func (*GetOCSPStaplingResponse) Reset ¶
func (x *GetOCSPStaplingResponse) Reset()
func (*GetOCSPStaplingResponse) String ¶
func (x *GetOCSPStaplingResponse) String() string
type OCSPStapling ¶
type OCSPStapling struct { Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` NextUpdateSec int64 `protobuf:"varint,2,opt,name=next_update_sec,json=nextUpdateSec,proto3" json:"next_update_sec,omitempty"` TtlSec int64 `protobuf:"varint,3,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"` // contains filtered or unexported fields }
func (*OCSPStapling) Descriptor
deprecated
func (*OCSPStapling) Descriptor() ([]byte, []int)
Deprecated: Use OCSPStapling.ProtoReflect.Descriptor instead.
func (*OCSPStapling) GetNextUpdateSec ¶
func (x *OCSPStapling) GetNextUpdateSec() int64
func (*OCSPStapling) GetRaw ¶
func (x *OCSPStapling) GetRaw() []byte
func (*OCSPStapling) GetTtlSec ¶
func (x *OCSPStapling) GetTtlSec() int64
func (*OCSPStapling) ProtoMessage ¶
func (*OCSPStapling) ProtoMessage()
func (*OCSPStapling) ProtoReflect ¶
func (x *OCSPStapling) ProtoReflect() protoreflect.Message
func (*OCSPStapling) Reset ¶
func (x *OCSPStapling) Reset()
func (*OCSPStapling) String ¶
func (x *OCSPStapling) String() string
Click to show internal directories.
Click to hide internal directories.