Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
ra/proto/ra.proto
It has these top-level messages:
NewAuthorizationRequest NewCertificateRequest UpdateRegistrationRequest UpdateAuthorizationRequest RevokeCertificateWithRegRequest AdministrativelyRevokeCertificateRequest
Index ¶
- func RegisterRegistrationAuthorityServer(s *grpc.Server, srv RegistrationAuthorityServer)
- type AdministrativelyRevokeCertificateRequest
- func (*AdministrativelyRevokeCertificateRequest) Descriptor() ([]byte, []int)
- func (m *AdministrativelyRevokeCertificateRequest) GetAdminName() string
- func (m *AdministrativelyRevokeCertificateRequest) GetCert() []byte
- func (m *AdministrativelyRevokeCertificateRequest) GetCode() int64
- func (*AdministrativelyRevokeCertificateRequest) ProtoMessage()
- func (m *AdministrativelyRevokeCertificateRequest) Reset()
- func (m *AdministrativelyRevokeCertificateRequest) String() string
- type NewAuthorizationRequest
- func (*NewAuthorizationRequest) Descriptor() ([]byte, []int)
- func (m *NewAuthorizationRequest) GetAuthz() *core.Authorization
- func (m *NewAuthorizationRequest) GetRegID() int64
- func (*NewAuthorizationRequest) ProtoMessage()
- func (m *NewAuthorizationRequest) Reset()
- func (m *NewAuthorizationRequest) String() string
- type NewCertificateRequest
- type RegistrationAuthorityClient
- type RegistrationAuthorityServer
- type RevokeCertificateWithRegRequest
- func (*RevokeCertificateWithRegRequest) Descriptor() ([]byte, []int)
- func (m *RevokeCertificateWithRegRequest) GetCert() []byte
- func (m *RevokeCertificateWithRegRequest) GetCode() int64
- func (m *RevokeCertificateWithRegRequest) GetRegID() int64
- func (*RevokeCertificateWithRegRequest) ProtoMessage()
- func (m *RevokeCertificateWithRegRequest) Reset()
- func (m *RevokeCertificateWithRegRequest) String() string
- type UpdateAuthorizationRequest
- func (*UpdateAuthorizationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAuthorizationRequest) GetAuthz() *core.Authorization
- func (m *UpdateAuthorizationRequest) GetChallengeIndex() int64
- func (m *UpdateAuthorizationRequest) GetResponse() *core.Challenge
- func (*UpdateAuthorizationRequest) ProtoMessage()
- func (m *UpdateAuthorizationRequest) Reset()
- func (m *UpdateAuthorizationRequest) String() string
- type UpdateRegistrationRequest
- func (*UpdateRegistrationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRegistrationRequest) GetBase() *core.Registration
- func (m *UpdateRegistrationRequest) GetUpdate() *core.Registration
- func (*UpdateRegistrationRequest) ProtoMessage()
- func (m *UpdateRegistrationRequest) Reset()
- func (m *UpdateRegistrationRequest) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRegistrationAuthorityServer ¶
func RegisterRegistrationAuthorityServer(s *grpc.Server, srv RegistrationAuthorityServer)
Types ¶
type AdministrativelyRevokeCertificateRequest ¶
type AdministrativelyRevokeCertificateRequest struct { Cert []byte `protobuf:"bytes,1,opt,name=cert" json:"cert,omitempty"` Code *int64 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"` AdminName *string `protobuf:"bytes,3,opt,name=adminName" json:"adminName,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AdministrativelyRevokeCertificateRequest) Descriptor ¶
func (*AdministrativelyRevokeCertificateRequest) Descriptor() ([]byte, []int)
func (*AdministrativelyRevokeCertificateRequest) GetAdminName ¶
func (m *AdministrativelyRevokeCertificateRequest) GetAdminName() string
func (*AdministrativelyRevokeCertificateRequest) GetCert ¶
func (m *AdministrativelyRevokeCertificateRequest) GetCert() []byte
func (*AdministrativelyRevokeCertificateRequest) GetCode ¶
func (m *AdministrativelyRevokeCertificateRequest) GetCode() int64
func (*AdministrativelyRevokeCertificateRequest) ProtoMessage ¶
func (*AdministrativelyRevokeCertificateRequest) ProtoMessage()
func (*AdministrativelyRevokeCertificateRequest) Reset ¶
func (m *AdministrativelyRevokeCertificateRequest) Reset()
func (*AdministrativelyRevokeCertificateRequest) String ¶
func (m *AdministrativelyRevokeCertificateRequest) String() string
type NewAuthorizationRequest ¶
type NewAuthorizationRequest struct { Authz *core.Authorization `protobuf:"bytes,1,opt,name=authz" json:"authz,omitempty"` RegID *int64 `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NewAuthorizationRequest) Descriptor ¶
func (*NewAuthorizationRequest) Descriptor() ([]byte, []int)
func (*NewAuthorizationRequest) GetAuthz ¶
func (m *NewAuthorizationRequest) GetAuthz() *core.Authorization
func (*NewAuthorizationRequest) GetRegID ¶
func (m *NewAuthorizationRequest) GetRegID() int64
func (*NewAuthorizationRequest) ProtoMessage ¶
func (*NewAuthorizationRequest) ProtoMessage()
func (*NewAuthorizationRequest) Reset ¶
func (m *NewAuthorizationRequest) Reset()
func (*NewAuthorizationRequest) String ¶
func (m *NewAuthorizationRequest) String() string
type NewCertificateRequest ¶
type NewCertificateRequest struct { Csr []byte `protobuf:"bytes,1,opt,name=csr" json:"csr,omitempty"` RegID *int64 `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NewCertificateRequest) Descriptor ¶
func (*NewCertificateRequest) Descriptor() ([]byte, []int)
func (*NewCertificateRequest) GetCsr ¶
func (m *NewCertificateRequest) GetCsr() []byte
func (*NewCertificateRequest) GetRegID ¶
func (m *NewCertificateRequest) GetRegID() int64
func (*NewCertificateRequest) ProtoMessage ¶
func (*NewCertificateRequest) ProtoMessage()
func (*NewCertificateRequest) Reset ¶
func (m *NewCertificateRequest) Reset()
func (*NewCertificateRequest) String ¶
func (m *NewCertificateRequest) String() string
type RegistrationAuthorityClient ¶
type RegistrationAuthorityClient interface { NewRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Registration, error) NewAuthorization(ctx context.Context, in *NewAuthorizationRequest, opts ...grpc.CallOption) (*core.Authorization, error) NewCertificate(ctx context.Context, in *NewCertificateRequest, opts ...grpc.CallOption) (*core.Certificate, error) UpdateRegistration(ctx context.Context, in *UpdateRegistrationRequest, opts ...grpc.CallOption) (*core.Registration, error) UpdateAuthorization(ctx context.Context, in *UpdateAuthorizationRequest, opts ...grpc.CallOption) (*core.Authorization, error) RevokeCertificateWithReg(ctx context.Context, in *RevokeCertificateWithRegRequest, opts ...grpc.CallOption) (*core.Empty, error) DeactivateRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Empty, error) DeactivateAuthorization(ctx context.Context, in *core.Authorization, opts ...grpc.CallOption) (*core.Empty, error) AdministrativelyRevokeCertificate(ctx context.Context, in *AdministrativelyRevokeCertificateRequest, opts ...grpc.CallOption) (*core.Empty, error) }
func NewRegistrationAuthorityClient ¶
func NewRegistrationAuthorityClient(cc *grpc.ClientConn) RegistrationAuthorityClient
type RegistrationAuthorityServer ¶
type RegistrationAuthorityServer interface { NewRegistration(context.Context, *core.Registration) (*core.Registration, error) NewAuthorization(context.Context, *NewAuthorizationRequest) (*core.Authorization, error) NewCertificate(context.Context, *NewCertificateRequest) (*core.Certificate, error) UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*core.Registration, error) UpdateAuthorization(context.Context, *UpdateAuthorizationRequest) (*core.Authorization, error) RevokeCertificateWithReg(context.Context, *RevokeCertificateWithRegRequest) (*core.Empty, error) DeactivateRegistration(context.Context, *core.Registration) (*core.Empty, error) DeactivateAuthorization(context.Context, *core.Authorization) (*core.Empty, error) AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*core.Empty, error) }
type RevokeCertificateWithRegRequest ¶
type RevokeCertificateWithRegRequest struct { Cert []byte `protobuf:"bytes,1,opt,name=cert" json:"cert,omitempty"` Code *int64 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"` RegID *int64 `protobuf:"varint,3,opt,name=regID" json:"regID,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RevokeCertificateWithRegRequest) Descriptor ¶
func (*RevokeCertificateWithRegRequest) Descriptor() ([]byte, []int)
func (*RevokeCertificateWithRegRequest) GetCert ¶
func (m *RevokeCertificateWithRegRequest) GetCert() []byte
func (*RevokeCertificateWithRegRequest) GetCode ¶
func (m *RevokeCertificateWithRegRequest) GetCode() int64
func (*RevokeCertificateWithRegRequest) GetRegID ¶
func (m *RevokeCertificateWithRegRequest) GetRegID() int64
func (*RevokeCertificateWithRegRequest) ProtoMessage ¶
func (*RevokeCertificateWithRegRequest) ProtoMessage()
func (*RevokeCertificateWithRegRequest) Reset ¶
func (m *RevokeCertificateWithRegRequest) Reset()
func (*RevokeCertificateWithRegRequest) String ¶
func (m *RevokeCertificateWithRegRequest) String() string
type UpdateAuthorizationRequest ¶
type UpdateAuthorizationRequest struct { Authz *core.Authorization `protobuf:"bytes,1,opt,name=authz" json:"authz,omitempty"` ChallengeIndex *int64 `protobuf:"varint,2,opt,name=challengeIndex" json:"challengeIndex,omitempty"` Response *core.Challenge `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UpdateAuthorizationRequest) Descriptor ¶
func (*UpdateAuthorizationRequest) Descriptor() ([]byte, []int)
func (*UpdateAuthorizationRequest) GetAuthz ¶
func (m *UpdateAuthorizationRequest) GetAuthz() *core.Authorization
func (*UpdateAuthorizationRequest) GetChallengeIndex ¶
func (m *UpdateAuthorizationRequest) GetChallengeIndex() int64
func (*UpdateAuthorizationRequest) GetResponse ¶
func (m *UpdateAuthorizationRequest) GetResponse() *core.Challenge
func (*UpdateAuthorizationRequest) ProtoMessage ¶
func (*UpdateAuthorizationRequest) ProtoMessage()
func (*UpdateAuthorizationRequest) Reset ¶
func (m *UpdateAuthorizationRequest) Reset()
func (*UpdateAuthorizationRequest) String ¶
func (m *UpdateAuthorizationRequest) String() string
type UpdateRegistrationRequest ¶
type UpdateRegistrationRequest struct { Base *core.Registration `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` Update *core.Registration `protobuf:"bytes,2,opt,name=update" json:"update,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UpdateRegistrationRequest) Descriptor ¶
func (*UpdateRegistrationRequest) Descriptor() ([]byte, []int)
func (*UpdateRegistrationRequest) GetBase ¶
func (m *UpdateRegistrationRequest) GetBase() *core.Registration
func (*UpdateRegistrationRequest) GetUpdate ¶
func (m *UpdateRegistrationRequest) GetUpdate() *core.Registration
func (*UpdateRegistrationRequest) ProtoMessage ¶
func (*UpdateRegistrationRequest) ProtoMessage()
func (*UpdateRegistrationRequest) Reset ¶
func (m *UpdateRegistrationRequest) Reset()
func (*UpdateRegistrationRequest) String ¶
func (m *UpdateRegistrationRequest) String() string
Click to show internal directories.
Click to hide internal directories.