Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRegistrationAuthorityServer(s grpc.ServiceRegistrar, srv RegistrationAuthorityServer)
- type AdministrativelyRevokeCertificateRequest
- func (*AdministrativelyRevokeCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdministrativelyRevokeCertificateRequest) GetAdminName() string
- func (x *AdministrativelyRevokeCertificateRequest) GetCert() []byte
- func (x *AdministrativelyRevokeCertificateRequest) GetCode() int64
- func (x *AdministrativelyRevokeCertificateRequest) GetMalformed() bool
- func (x *AdministrativelyRevokeCertificateRequest) GetSerial() string
- func (x *AdministrativelyRevokeCertificateRequest) GetSkipBlockKey() bool
- func (*AdministrativelyRevokeCertificateRequest) ProtoMessage()
- func (x *AdministrativelyRevokeCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *AdministrativelyRevokeCertificateRequest) Reset()
- func (x *AdministrativelyRevokeCertificateRequest) String() string
- type FinalizeOrderRequest
- func (*FinalizeOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeOrderRequest) GetCsr() []byte
- func (x *FinalizeOrderRequest) GetOrder() *proto.Order
- func (*FinalizeOrderRequest) ProtoMessage()
- func (x *FinalizeOrderRequest) ProtoReflect() protoreflect.Message
- func (x *FinalizeOrderRequest) Reset()
- func (x *FinalizeOrderRequest) String() string
- type GenerateOCSPRequest
- func (*GenerateOCSPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateOCSPRequest) GetSerial() string
- func (*GenerateOCSPRequest) ProtoMessage()
- func (x *GenerateOCSPRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateOCSPRequest) Reset()
- func (x *GenerateOCSPRequest) String() string
- type GetAuthorizationRequest
- func (*GetAuthorizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizationRequest) GetId() int64
- func (*GetAuthorizationRequest) ProtoMessage()
- func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizationRequest) Reset()
- func (x *GetAuthorizationRequest) String() string
- type NewOrderRequest
- func (*NewOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewOrderRequest) GetCertificateProfileName() string
- func (x *NewOrderRequest) GetDnsNames() []string
- func (x *NewOrderRequest) GetIsARIRenewal() bool
- func (x *NewOrderRequest) GetIsRenewal() bool
- func (x *NewOrderRequest) GetRegistrationID() int64
- func (x *NewOrderRequest) GetReplacesSerial() string
- func (*NewOrderRequest) ProtoMessage()
- func (x *NewOrderRequest) ProtoReflect() protoreflect.Message
- func (x *NewOrderRequest) Reset()
- func (x *NewOrderRequest) String() string
- type PerformValidationRequest
- func (*PerformValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PerformValidationRequest) GetAuthz() *proto.Authorization
- func (x *PerformValidationRequest) GetChallengeIndex() int64
- func (*PerformValidationRequest) ProtoMessage()
- func (x *PerformValidationRequest) ProtoReflect() protoreflect.Message
- func (x *PerformValidationRequest) Reset()
- func (x *PerformValidationRequest) String() string
- type RegistrationAuthorityClient
- type RegistrationAuthorityServer
- type RevokeCertByApplicantRequest
- func (*RevokeCertByApplicantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertByApplicantRequest) GetCert() []byte
- func (x *RevokeCertByApplicantRequest) GetCode() int64
- func (x *RevokeCertByApplicantRequest) GetRegID() int64
- func (*RevokeCertByApplicantRequest) ProtoMessage()
- func (x *RevokeCertByApplicantRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertByApplicantRequest) Reset()
- func (x *RevokeCertByApplicantRequest) String() string
- type RevokeCertByKeyRequest
- func (*RevokeCertByKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertByKeyRequest) GetCert() []byte
- func (*RevokeCertByKeyRequest) ProtoMessage()
- func (x *RevokeCertByKeyRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertByKeyRequest) Reset()
- func (x *RevokeCertByKeyRequest) String() string
- type UnimplementedRegistrationAuthorityServer
- func (UnimplementedRegistrationAuthorityServer) AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*emptypb.Empty, error)
- func (UnimplementedRegistrationAuthorityServer) DeactivateAuthorization(context.Context, *proto.Authorization) (*emptypb.Empty, error)
- func (UnimplementedRegistrationAuthorityServer) DeactivateRegistration(context.Context, *proto.Registration) (*emptypb.Empty, error)
- func (UnimplementedRegistrationAuthorityServer) FinalizeOrder(context.Context, *FinalizeOrderRequest) (*proto.Order, error)
- func (UnimplementedRegistrationAuthorityServer) GenerateOCSP(context.Context, *GenerateOCSPRequest) (*proto1.OCSPResponse, error)
- func (UnimplementedRegistrationAuthorityServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*proto.Authorization, error)
- func (UnimplementedRegistrationAuthorityServer) NewOrder(context.Context, *NewOrderRequest) (*proto.Order, error)
- func (UnimplementedRegistrationAuthorityServer) NewRegistration(context.Context, *proto.Registration) (*proto.Registration, error)
- func (UnimplementedRegistrationAuthorityServer) PerformValidation(context.Context, *PerformValidationRequest) (*proto.Authorization, error)
- func (UnimplementedRegistrationAuthorityServer) RevokeCertByApplicant(context.Context, *RevokeCertByApplicantRequest) (*emptypb.Empty, error)
- func (UnimplementedRegistrationAuthorityServer) RevokeCertByKey(context.Context, *RevokeCertByKeyRequest) (*emptypb.Empty, error)
- func (UnimplementedRegistrationAuthorityServer) UnpauseAccount(context.Context, *UnpauseAccountRequest) (*UnpauseAccountResponse, error)
- func (UnimplementedRegistrationAuthorityServer) UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*proto.Registration, error)
- func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationContact(context.Context, *UpdateRegistrationContactRequest) (*proto.Registration, error)
- func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationKey(context.Context, *UpdateRegistrationKeyRequest) (*proto.Registration, error)
- type UnpauseAccountRequest
- func (*UnpauseAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnpauseAccountRequest) GetRegistrationID() int64
- func (*UnpauseAccountRequest) ProtoMessage()
- func (x *UnpauseAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UnpauseAccountRequest) Reset()
- func (x *UnpauseAccountRequest) String() string
- type UnpauseAccountResponse
- func (*UnpauseAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnpauseAccountResponse) GetCount() int64
- func (*UnpauseAccountResponse) ProtoMessage()
- func (x *UnpauseAccountResponse) ProtoReflect() protoreflect.Message
- func (x *UnpauseAccountResponse) Reset()
- func (x *UnpauseAccountResponse) String() string
- type UnsafeRegistrationAuthorityServer
- type UpdateAuthorizationRequest
- func (*UpdateAuthorizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAuthorizationRequest) GetAuthz() *proto.Authorization
- func (x *UpdateAuthorizationRequest) GetChallengeIndex() int64
- func (x *UpdateAuthorizationRequest) GetResponse() *proto.Challenge
- func (*UpdateAuthorizationRequest) ProtoMessage()
- func (x *UpdateAuthorizationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAuthorizationRequest) Reset()
- func (x *UpdateAuthorizationRequest) String() string
- type UpdateRegistrationContactRequest
- func (*UpdateRegistrationContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistrationContactRequest) GetContacts() []string
- func (x *UpdateRegistrationContactRequest) GetRegistrationID() int64
- func (*UpdateRegistrationContactRequest) ProtoMessage()
- func (x *UpdateRegistrationContactRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistrationContactRequest) Reset()
- func (x *UpdateRegistrationContactRequest) String() string
- type UpdateRegistrationKeyRequest
- func (*UpdateRegistrationKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistrationKeyRequest) GetJwk() []byte
- func (x *UpdateRegistrationKeyRequest) GetRegistrationID() int64
- func (*UpdateRegistrationKeyRequest) ProtoMessage()
- func (x *UpdateRegistrationKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistrationKeyRequest) Reset()
- func (x *UpdateRegistrationKeyRequest) String() string
- type UpdateRegistrationRequest
- func (*UpdateRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistrationRequest) GetBase() *proto.Registration
- func (x *UpdateRegistrationRequest) GetUpdate() *proto.Registration
- func (*UpdateRegistrationRequest) ProtoMessage()
- func (x *UpdateRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistrationRequest) Reset()
- func (x *UpdateRegistrationRequest) String() string
Constants ¶
const ( RegistrationAuthority_NewRegistration_FullMethodName = "/ra.RegistrationAuthority/NewRegistration" RegistrationAuthority_UpdateRegistration_FullMethodName = "/ra.RegistrationAuthority/UpdateRegistration" RegistrationAuthority_UpdateRegistrationContact_FullMethodName = "/ra.RegistrationAuthority/UpdateRegistrationContact" RegistrationAuthority_UpdateRegistrationKey_FullMethodName = "/ra.RegistrationAuthority/UpdateRegistrationKey" RegistrationAuthority_PerformValidation_FullMethodName = "/ra.RegistrationAuthority/PerformValidation" RegistrationAuthority_DeactivateRegistration_FullMethodName = "/ra.RegistrationAuthority/DeactivateRegistration" RegistrationAuthority_DeactivateAuthorization_FullMethodName = "/ra.RegistrationAuthority/DeactivateAuthorization" RegistrationAuthority_RevokeCertByApplicant_FullMethodName = "/ra.RegistrationAuthority/RevokeCertByApplicant" RegistrationAuthority_RevokeCertByKey_FullMethodName = "/ra.RegistrationAuthority/RevokeCertByKey" RegistrationAuthority_AdministrativelyRevokeCertificate_FullMethodName = "/ra.RegistrationAuthority/AdministrativelyRevokeCertificate" RegistrationAuthority_NewOrder_FullMethodName = "/ra.RegistrationAuthority/NewOrder" RegistrationAuthority_GetAuthorization_FullMethodName = "/ra.RegistrationAuthority/GetAuthorization" RegistrationAuthority_FinalizeOrder_FullMethodName = "/ra.RegistrationAuthority/FinalizeOrder" RegistrationAuthority_GenerateOCSP_FullMethodName = "/ra.RegistrationAuthority/GenerateOCSP" RegistrationAuthority_UnpauseAccount_FullMethodName = "/ra.RegistrationAuthority/UnpauseAccount" )
Variables ¶
var File_ra_proto protoreflect.FileDescriptor
var RegistrationAuthority_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ra.RegistrationAuthority", HandlerType: (*RegistrationAuthorityServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NewRegistration", Handler: _RegistrationAuthority_NewRegistration_Handler, }, { MethodName: "UpdateRegistration", Handler: _RegistrationAuthority_UpdateRegistration_Handler, }, { MethodName: "UpdateRegistrationContact", Handler: _RegistrationAuthority_UpdateRegistrationContact_Handler, }, { MethodName: "UpdateRegistrationKey", Handler: _RegistrationAuthority_UpdateRegistrationKey_Handler, }, { MethodName: "PerformValidation", Handler: _RegistrationAuthority_PerformValidation_Handler, }, { MethodName: "DeactivateRegistration", Handler: _RegistrationAuthority_DeactivateRegistration_Handler, }, { MethodName: "DeactivateAuthorization", Handler: _RegistrationAuthority_DeactivateAuthorization_Handler, }, { MethodName: "RevokeCertByApplicant", Handler: _RegistrationAuthority_RevokeCertByApplicant_Handler, }, { MethodName: "RevokeCertByKey", Handler: _RegistrationAuthority_RevokeCertByKey_Handler, }, { MethodName: "AdministrativelyRevokeCertificate", Handler: _RegistrationAuthority_AdministrativelyRevokeCertificate_Handler, }, { MethodName: "NewOrder", Handler: _RegistrationAuthority_NewOrder_Handler, }, { MethodName: "GetAuthorization", Handler: _RegistrationAuthority_GetAuthorization_Handler, }, { MethodName: "FinalizeOrder", Handler: _RegistrationAuthority_FinalizeOrder_Handler, }, { MethodName: "GenerateOCSP", Handler: _RegistrationAuthority_GenerateOCSP_Handler, }, { MethodName: "UnpauseAccount", Handler: _RegistrationAuthority_UnpauseAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ra.proto", }
RegistrationAuthority_ServiceDesc is the grpc.ServiceDesc for RegistrationAuthority service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistrationAuthorityServer ¶
func RegisterRegistrationAuthorityServer(s grpc.ServiceRegistrar, srv RegistrationAuthorityServer)
Types ¶
type AdministrativelyRevokeCertificateRequest ¶
type AdministrativelyRevokeCertificateRequest struct { // Deprecated: this field is ignored. Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` // The `serial` field is required. Serial string `protobuf:"bytes,4,opt,name=serial,proto3" json:"serial,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` AdminName string `protobuf:"bytes,3,opt,name=adminName,proto3" json:"adminName,omitempty"` SkipBlockKey bool `protobuf:"varint,5,opt,name=skipBlockKey,proto3" json:"skipBlockKey,omitempty"` // If the malformed flag is set, the RA will not attempt to parse the // certificate in question. In this case, the keyCompromise reason cannot be // specified, because the key cannot be blocked. Malformed bool `protobuf:"varint,6,opt,name=malformed,proto3" json:"malformed,omitempty"` // contains filtered or unexported fields }
func (*AdministrativelyRevokeCertificateRequest) Descriptor
deprecated
func (*AdministrativelyRevokeCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdministrativelyRevokeCertificateRequest.ProtoReflect.Descriptor instead.
func (*AdministrativelyRevokeCertificateRequest) GetAdminName ¶
func (x *AdministrativelyRevokeCertificateRequest) GetAdminName() string
func (*AdministrativelyRevokeCertificateRequest) GetCert ¶
func (x *AdministrativelyRevokeCertificateRequest) GetCert() []byte
func (*AdministrativelyRevokeCertificateRequest) GetCode ¶
func (x *AdministrativelyRevokeCertificateRequest) GetCode() int64
func (*AdministrativelyRevokeCertificateRequest) GetMalformed ¶
func (x *AdministrativelyRevokeCertificateRequest) GetMalformed() bool
func (*AdministrativelyRevokeCertificateRequest) GetSerial ¶
func (x *AdministrativelyRevokeCertificateRequest) GetSerial() string
func (*AdministrativelyRevokeCertificateRequest) GetSkipBlockKey ¶
func (x *AdministrativelyRevokeCertificateRequest) GetSkipBlockKey() bool
func (*AdministrativelyRevokeCertificateRequest) ProtoMessage ¶
func (*AdministrativelyRevokeCertificateRequest) ProtoMessage()
func (*AdministrativelyRevokeCertificateRequest) ProtoReflect ¶
func (x *AdministrativelyRevokeCertificateRequest) ProtoReflect() protoreflect.Message
func (*AdministrativelyRevokeCertificateRequest) Reset ¶
func (x *AdministrativelyRevokeCertificateRequest) Reset()
func (*AdministrativelyRevokeCertificateRequest) String ¶
func (x *AdministrativelyRevokeCertificateRequest) String() string
type FinalizeOrderRequest ¶
type FinalizeOrderRequest struct { Order *proto.Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` Csr []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` // contains filtered or unexported fields }
func (*FinalizeOrderRequest) Descriptor
deprecated
func (*FinalizeOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeOrderRequest.ProtoReflect.Descriptor instead.
func (*FinalizeOrderRequest) GetCsr ¶
func (x *FinalizeOrderRequest) GetCsr() []byte
func (*FinalizeOrderRequest) GetOrder ¶
func (x *FinalizeOrderRequest) GetOrder() *proto.Order
func (*FinalizeOrderRequest) ProtoMessage ¶
func (*FinalizeOrderRequest) ProtoMessage()
func (*FinalizeOrderRequest) ProtoReflect ¶
func (x *FinalizeOrderRequest) ProtoReflect() protoreflect.Message
func (*FinalizeOrderRequest) Reset ¶
func (x *FinalizeOrderRequest) Reset()
func (*FinalizeOrderRequest) String ¶
func (x *FinalizeOrderRequest) String() string
type GenerateOCSPRequest ¶
type GenerateOCSPRequest struct { Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"` // contains filtered or unexported fields }
func (*GenerateOCSPRequest) Descriptor
deprecated
func (*GenerateOCSPRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateOCSPRequest.ProtoReflect.Descriptor instead.
func (*GenerateOCSPRequest) GetSerial ¶
func (x *GenerateOCSPRequest) GetSerial() string
func (*GenerateOCSPRequest) ProtoMessage ¶
func (*GenerateOCSPRequest) ProtoMessage()
func (*GenerateOCSPRequest) ProtoReflect ¶
func (x *GenerateOCSPRequest) ProtoReflect() protoreflect.Message
func (*GenerateOCSPRequest) Reset ¶
func (x *GenerateOCSPRequest) Reset()
func (*GenerateOCSPRequest) String ¶
func (x *GenerateOCSPRequest) String() string
type GetAuthorizationRequest ¶
type GetAuthorizationRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAuthorizationRequest) Descriptor
deprecated
func (*GetAuthorizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizationRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizationRequest) GetId ¶
func (x *GetAuthorizationRequest) GetId() int64
func (*GetAuthorizationRequest) ProtoMessage ¶
func (*GetAuthorizationRequest) ProtoMessage()
func (*GetAuthorizationRequest) ProtoReflect ¶
func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message
func (*GetAuthorizationRequest) Reset ¶
func (x *GetAuthorizationRequest) Reset()
func (*GetAuthorizationRequest) String ¶
func (x *GetAuthorizationRequest) String() string
type NewOrderRequest ¶
type NewOrderRequest struct { // Next unused field number: 7 RegistrationID int64 `protobuf:"varint,1,opt,name=registrationID,proto3" json:"registrationID,omitempty"` DnsNames []string `protobuf:"bytes,2,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"` ReplacesSerial string `protobuf:"bytes,3,opt,name=replacesSerial,proto3" json:"replacesSerial,omitempty"` // TODO(#7512): Remove this field. IsARIRenewal bool `protobuf:"varint,4,opt,name=isARIRenewal,proto3" json:"isARIRenewal,omitempty"` CertificateProfileName string `protobuf:"bytes,5,opt,name=certificateProfileName,proto3" json:"certificateProfileName,omitempty"` // TODO(#7512): Remove this field. IsRenewal bool `protobuf:"varint,6,opt,name=isRenewal,proto3" json:"isRenewal,omitempty"` // contains filtered or unexported fields }
func (*NewOrderRequest) Descriptor
deprecated
func (*NewOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewOrderRequest.ProtoReflect.Descriptor instead.
func (*NewOrderRequest) GetCertificateProfileName ¶
func (x *NewOrderRequest) GetCertificateProfileName() string
func (*NewOrderRequest) GetDnsNames ¶
func (x *NewOrderRequest) GetDnsNames() []string
func (*NewOrderRequest) GetIsARIRenewal ¶
func (x *NewOrderRequest) GetIsARIRenewal() bool
func (*NewOrderRequest) GetIsRenewal ¶
func (x *NewOrderRequest) GetIsRenewal() bool
func (*NewOrderRequest) GetRegistrationID ¶
func (x *NewOrderRequest) GetRegistrationID() int64
func (*NewOrderRequest) GetReplacesSerial ¶
func (x *NewOrderRequest) GetReplacesSerial() string
func (*NewOrderRequest) ProtoMessage ¶
func (*NewOrderRequest) ProtoMessage()
func (*NewOrderRequest) ProtoReflect ¶
func (x *NewOrderRequest) ProtoReflect() protoreflect.Message
func (*NewOrderRequest) Reset ¶
func (x *NewOrderRequest) Reset()
func (*NewOrderRequest) String ¶
func (x *NewOrderRequest) String() string
type PerformValidationRequest ¶
type PerformValidationRequest struct { Authz *proto.Authorization `protobuf:"bytes,1,opt,name=authz,proto3" json:"authz,omitempty"` ChallengeIndex int64 `protobuf:"varint,2,opt,name=challengeIndex,proto3" json:"challengeIndex,omitempty"` // contains filtered or unexported fields }
func (*PerformValidationRequest) Descriptor
deprecated
func (*PerformValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PerformValidationRequest.ProtoReflect.Descriptor instead.
func (*PerformValidationRequest) GetAuthz ¶
func (x *PerformValidationRequest) GetAuthz() *proto.Authorization
func (*PerformValidationRequest) GetChallengeIndex ¶
func (x *PerformValidationRequest) GetChallengeIndex() int64
func (*PerformValidationRequest) ProtoMessage ¶
func (*PerformValidationRequest) ProtoMessage()
func (*PerformValidationRequest) ProtoReflect ¶
func (x *PerformValidationRequest) ProtoReflect() protoreflect.Message
func (*PerformValidationRequest) Reset ¶
func (x *PerformValidationRequest) Reset()
func (*PerformValidationRequest) String ¶
func (x *PerformValidationRequest) String() string
type RegistrationAuthorityClient ¶
type RegistrationAuthorityClient interface { NewRegistration(ctx context.Context, in *proto.Registration, opts ...grpc.CallOption) (*proto.Registration, error) UpdateRegistration(ctx context.Context, in *UpdateRegistrationRequest, opts ...grpc.CallOption) (*proto.Registration, error) UpdateRegistrationContact(ctx context.Context, in *UpdateRegistrationContactRequest, opts ...grpc.CallOption) (*proto.Registration, error) UpdateRegistrationKey(ctx context.Context, in *UpdateRegistrationKeyRequest, opts ...grpc.CallOption) (*proto.Registration, error) PerformValidation(ctx context.Context, in *PerformValidationRequest, opts ...grpc.CallOption) (*proto.Authorization, error) DeactivateRegistration(ctx context.Context, in *proto.Registration, opts ...grpc.CallOption) (*emptypb.Empty, error) DeactivateAuthorization(ctx context.Context, in *proto.Authorization, opts ...grpc.CallOption) (*emptypb.Empty, error) RevokeCertByApplicant(ctx context.Context, in *RevokeCertByApplicantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) RevokeCertByKey(ctx context.Context, in *RevokeCertByKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AdministrativelyRevokeCertificate(ctx context.Context, in *AdministrativelyRevokeCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) NewOrder(ctx context.Context, in *NewOrderRequest, opts ...grpc.CallOption) (*proto.Order, error) GetAuthorization(ctx context.Context, in *GetAuthorizationRequest, opts ...grpc.CallOption) (*proto.Authorization, error) FinalizeOrder(ctx context.Context, in *FinalizeOrderRequest, opts ...grpc.CallOption) (*proto.Order, error) // Generate an OCSP response based on the DB's current status and reason code. GenerateOCSP(ctx context.Context, in *GenerateOCSPRequest, opts ...grpc.CallOption) (*proto1.OCSPResponse, error) UnpauseAccount(ctx context.Context, in *UnpauseAccountRequest, opts ...grpc.CallOption) (*UnpauseAccountResponse, error) }
RegistrationAuthorityClient is the client API for RegistrationAuthority service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistrationAuthorityClient ¶
func NewRegistrationAuthorityClient(cc grpc.ClientConnInterface) RegistrationAuthorityClient
type RegistrationAuthorityServer ¶
type RegistrationAuthorityServer interface { NewRegistration(context.Context, *proto.Registration) (*proto.Registration, error) UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*proto.Registration, error) UpdateRegistrationContact(context.Context, *UpdateRegistrationContactRequest) (*proto.Registration, error) UpdateRegistrationKey(context.Context, *UpdateRegistrationKeyRequest) (*proto.Registration, error) PerformValidation(context.Context, *PerformValidationRequest) (*proto.Authorization, error) DeactivateRegistration(context.Context, *proto.Registration) (*emptypb.Empty, error) DeactivateAuthorization(context.Context, *proto.Authorization) (*emptypb.Empty, error) RevokeCertByApplicant(context.Context, *RevokeCertByApplicantRequest) (*emptypb.Empty, error) RevokeCertByKey(context.Context, *RevokeCertByKeyRequest) (*emptypb.Empty, error) AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*emptypb.Empty, error) NewOrder(context.Context, *NewOrderRequest) (*proto.Order, error) GetAuthorization(context.Context, *GetAuthorizationRequest) (*proto.Authorization, error) FinalizeOrder(context.Context, *FinalizeOrderRequest) (*proto.Order, error) // Generate an OCSP response based on the DB's current status and reason code. GenerateOCSP(context.Context, *GenerateOCSPRequest) (*proto1.OCSPResponse, error) UnpauseAccount(context.Context, *UnpauseAccountRequest) (*UnpauseAccountResponse, error) // contains filtered or unexported methods }
RegistrationAuthorityServer is the server API for RegistrationAuthority service. All implementations must embed UnimplementedRegistrationAuthorityServer for forward compatibility
type RevokeCertByApplicantRequest ¶
type RevokeCertByApplicantRequest struct { Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` RegID int64 `protobuf:"varint,3,opt,name=regID,proto3" json:"regID,omitempty"` // contains filtered or unexported fields }
func (*RevokeCertByApplicantRequest) Descriptor
deprecated
func (*RevokeCertByApplicantRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertByApplicantRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertByApplicantRequest) GetCert ¶
func (x *RevokeCertByApplicantRequest) GetCert() []byte
func (*RevokeCertByApplicantRequest) GetCode ¶
func (x *RevokeCertByApplicantRequest) GetCode() int64
func (*RevokeCertByApplicantRequest) GetRegID ¶
func (x *RevokeCertByApplicantRequest) GetRegID() int64
func (*RevokeCertByApplicantRequest) ProtoMessage ¶
func (*RevokeCertByApplicantRequest) ProtoMessage()
func (*RevokeCertByApplicantRequest) ProtoReflect ¶
func (x *RevokeCertByApplicantRequest) ProtoReflect() protoreflect.Message
func (*RevokeCertByApplicantRequest) Reset ¶
func (x *RevokeCertByApplicantRequest) Reset()
func (*RevokeCertByApplicantRequest) String ¶
func (x *RevokeCertByApplicantRequest) String() string
type RevokeCertByKeyRequest ¶
type RevokeCertByKeyRequest struct { Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` // contains filtered or unexported fields }
func (*RevokeCertByKeyRequest) Descriptor
deprecated
func (*RevokeCertByKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertByKeyRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertByKeyRequest) GetCert ¶
func (x *RevokeCertByKeyRequest) GetCert() []byte
func (*RevokeCertByKeyRequest) ProtoMessage ¶
func (*RevokeCertByKeyRequest) ProtoMessage()
func (*RevokeCertByKeyRequest) ProtoReflect ¶
func (x *RevokeCertByKeyRequest) ProtoReflect() protoreflect.Message
func (*RevokeCertByKeyRequest) Reset ¶
func (x *RevokeCertByKeyRequest) Reset()
func (*RevokeCertByKeyRequest) String ¶
func (x *RevokeCertByKeyRequest) String() string
type UnimplementedRegistrationAuthorityServer ¶
type UnimplementedRegistrationAuthorityServer struct { }
UnimplementedRegistrationAuthorityServer must be embedded to have forward compatible implementations.
func (UnimplementedRegistrationAuthorityServer) AdministrativelyRevokeCertificate ¶
func (UnimplementedRegistrationAuthorityServer) AdministrativelyRevokeCertificate(context.Context, *AdministrativelyRevokeCertificateRequest) (*emptypb.Empty, error)
func (UnimplementedRegistrationAuthorityServer) DeactivateAuthorization ¶
func (UnimplementedRegistrationAuthorityServer) DeactivateAuthorization(context.Context, *proto.Authorization) (*emptypb.Empty, error)
func (UnimplementedRegistrationAuthorityServer) DeactivateRegistration ¶
func (UnimplementedRegistrationAuthorityServer) DeactivateRegistration(context.Context, *proto.Registration) (*emptypb.Empty, error)
func (UnimplementedRegistrationAuthorityServer) FinalizeOrder ¶
func (UnimplementedRegistrationAuthorityServer) FinalizeOrder(context.Context, *FinalizeOrderRequest) (*proto.Order, error)
func (UnimplementedRegistrationAuthorityServer) GenerateOCSP ¶
func (UnimplementedRegistrationAuthorityServer) GenerateOCSP(context.Context, *GenerateOCSPRequest) (*proto1.OCSPResponse, error)
func (UnimplementedRegistrationAuthorityServer) GetAuthorization ¶
func (UnimplementedRegistrationAuthorityServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*proto.Authorization, error)
func (UnimplementedRegistrationAuthorityServer) NewOrder ¶
func (UnimplementedRegistrationAuthorityServer) NewOrder(context.Context, *NewOrderRequest) (*proto.Order, error)
func (UnimplementedRegistrationAuthorityServer) NewRegistration ¶
func (UnimplementedRegistrationAuthorityServer) NewRegistration(context.Context, *proto.Registration) (*proto.Registration, error)
func (UnimplementedRegistrationAuthorityServer) PerformValidation ¶
func (UnimplementedRegistrationAuthorityServer) PerformValidation(context.Context, *PerformValidationRequest) (*proto.Authorization, error)
func (UnimplementedRegistrationAuthorityServer) RevokeCertByApplicant ¶
func (UnimplementedRegistrationAuthorityServer) RevokeCertByApplicant(context.Context, *RevokeCertByApplicantRequest) (*emptypb.Empty, error)
func (UnimplementedRegistrationAuthorityServer) RevokeCertByKey ¶
func (UnimplementedRegistrationAuthorityServer) RevokeCertByKey(context.Context, *RevokeCertByKeyRequest) (*emptypb.Empty, error)
func (UnimplementedRegistrationAuthorityServer) UnpauseAccount ¶
func (UnimplementedRegistrationAuthorityServer) UnpauseAccount(context.Context, *UnpauseAccountRequest) (*UnpauseAccountResponse, error)
func (UnimplementedRegistrationAuthorityServer) UpdateRegistration ¶
func (UnimplementedRegistrationAuthorityServer) UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*proto.Registration, error)
func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationContact ¶
func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationContact(context.Context, *UpdateRegistrationContactRequest) (*proto.Registration, error)
func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationKey ¶
func (UnimplementedRegistrationAuthorityServer) UpdateRegistrationKey(context.Context, *UpdateRegistrationKeyRequest) (*proto.Registration, error)
type UnpauseAccountRequest ¶
type UnpauseAccountRequest struct { // The registrationID to be unpaused so issuance can be resumed. RegistrationID int64 `protobuf:"varint,1,opt,name=registrationID,proto3" json:"registrationID,omitempty"` // contains filtered or unexported fields }
func (*UnpauseAccountRequest) Descriptor
deprecated
func (*UnpauseAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnpauseAccountRequest.ProtoReflect.Descriptor instead.
func (*UnpauseAccountRequest) GetRegistrationID ¶
func (x *UnpauseAccountRequest) GetRegistrationID() int64
func (*UnpauseAccountRequest) ProtoMessage ¶
func (*UnpauseAccountRequest) ProtoMessage()
func (*UnpauseAccountRequest) ProtoReflect ¶
func (x *UnpauseAccountRequest) ProtoReflect() protoreflect.Message
func (*UnpauseAccountRequest) Reset ¶
func (x *UnpauseAccountRequest) Reset()
func (*UnpauseAccountRequest) String ¶
func (x *UnpauseAccountRequest) String() string
type UnpauseAccountResponse ¶
type UnpauseAccountResponse struct { // Count is the number of identifiers which were unpaused for the input regid. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*UnpauseAccountResponse) Descriptor
deprecated
func (*UnpauseAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnpauseAccountResponse.ProtoReflect.Descriptor instead.
func (*UnpauseAccountResponse) GetCount ¶
func (x *UnpauseAccountResponse) GetCount() int64
func (*UnpauseAccountResponse) ProtoMessage ¶
func (*UnpauseAccountResponse) ProtoMessage()
func (*UnpauseAccountResponse) ProtoReflect ¶
func (x *UnpauseAccountResponse) ProtoReflect() protoreflect.Message
func (*UnpauseAccountResponse) Reset ¶
func (x *UnpauseAccountResponse) Reset()
func (*UnpauseAccountResponse) String ¶
func (x *UnpauseAccountResponse) String() string
type UnsafeRegistrationAuthorityServer ¶
type UnsafeRegistrationAuthorityServer interface {
// contains filtered or unexported methods
}
UnsafeRegistrationAuthorityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistrationAuthorityServer will result in compilation errors.
type UpdateAuthorizationRequest ¶
type UpdateAuthorizationRequest struct { Authz *proto.Authorization `protobuf:"bytes,1,opt,name=authz,proto3" json:"authz,omitempty"` ChallengeIndex int64 `protobuf:"varint,2,opt,name=challengeIndex,proto3" json:"challengeIndex,omitempty"` Response *proto.Challenge `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*UpdateAuthorizationRequest) Descriptor
deprecated
func (*UpdateAuthorizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAuthorizationRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthorizationRequest) GetAuthz ¶
func (x *UpdateAuthorizationRequest) GetAuthz() *proto.Authorization
func (*UpdateAuthorizationRequest) GetChallengeIndex ¶
func (x *UpdateAuthorizationRequest) GetChallengeIndex() int64
func (*UpdateAuthorizationRequest) GetResponse ¶
func (x *UpdateAuthorizationRequest) GetResponse() *proto.Challenge
func (*UpdateAuthorizationRequest) ProtoMessage ¶
func (*UpdateAuthorizationRequest) ProtoMessage()
func (*UpdateAuthorizationRequest) ProtoReflect ¶
func (x *UpdateAuthorizationRequest) ProtoReflect() protoreflect.Message
func (*UpdateAuthorizationRequest) Reset ¶
func (x *UpdateAuthorizationRequest) Reset()
func (*UpdateAuthorizationRequest) String ¶
func (x *UpdateAuthorizationRequest) String() string
type UpdateRegistrationContactRequest ¶
type UpdateRegistrationContactRequest struct { RegistrationID int64 `protobuf:"varint,1,opt,name=registrationID,proto3" json:"registrationID,omitempty"` Contacts []string `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistrationContactRequest) Descriptor
deprecated
func (*UpdateRegistrationContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistrationContactRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistrationContactRequest) GetContacts ¶
func (x *UpdateRegistrationContactRequest) GetContacts() []string
func (*UpdateRegistrationContactRequest) GetRegistrationID ¶
func (x *UpdateRegistrationContactRequest) GetRegistrationID() int64
func (*UpdateRegistrationContactRequest) ProtoMessage ¶
func (*UpdateRegistrationContactRequest) ProtoMessage()
func (*UpdateRegistrationContactRequest) ProtoReflect ¶
func (x *UpdateRegistrationContactRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegistrationContactRequest) Reset ¶
func (x *UpdateRegistrationContactRequest) Reset()
func (*UpdateRegistrationContactRequest) String ¶
func (x *UpdateRegistrationContactRequest) String() string
type UpdateRegistrationKeyRequest ¶
type UpdateRegistrationKeyRequest struct { RegistrationID int64 `protobuf:"varint,1,opt,name=registrationID,proto3" json:"registrationID,omitempty"` Jwk []byte `protobuf:"bytes,2,opt,name=jwk,proto3" json:"jwk,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistrationKeyRequest) Descriptor
deprecated
func (*UpdateRegistrationKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistrationKeyRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistrationKeyRequest) GetJwk ¶
func (x *UpdateRegistrationKeyRequest) GetJwk() []byte
func (*UpdateRegistrationKeyRequest) GetRegistrationID ¶
func (x *UpdateRegistrationKeyRequest) GetRegistrationID() int64
func (*UpdateRegistrationKeyRequest) ProtoMessage ¶
func (*UpdateRegistrationKeyRequest) ProtoMessage()
func (*UpdateRegistrationKeyRequest) ProtoReflect ¶
func (x *UpdateRegistrationKeyRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegistrationKeyRequest) Reset ¶
func (x *UpdateRegistrationKeyRequest) Reset()
func (*UpdateRegistrationKeyRequest) String ¶
func (x *UpdateRegistrationKeyRequest) String() string
type UpdateRegistrationRequest ¶
type UpdateRegistrationRequest struct { Base *proto.Registration `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Update *proto.Registration `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistrationRequest) Descriptor
deprecated
func (*UpdateRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistrationRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistrationRequest) GetBase ¶
func (x *UpdateRegistrationRequest) GetBase() *proto.Registration
func (*UpdateRegistrationRequest) GetUpdate ¶
func (x *UpdateRegistrationRequest) GetUpdate() *proto.Registration
func (*UpdateRegistrationRequest) ProtoMessage ¶
func (*UpdateRegistrationRequest) ProtoMessage()
func (*UpdateRegistrationRequest) ProtoReflect ¶
func (x *UpdateRegistrationRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegistrationRequest) Reset ¶
func (x *UpdateRegistrationRequest) Reset()
func (*UpdateRegistrationRequest) String ¶
func (x *UpdateRegistrationRequest) String() string