boulder: github.com/letsencrypt/boulder/grpc Index | Files | Directories

package grpc

import "github.com/letsencrypt/boulder/grpc"

Package wrappers wraps the GRPC calls in the core interfaces.

Package wrappers wraps the GRPC calls in the core interfaces.

Package wrappers wraps the GRPC calls in the core interfaces.

Package wrappers wraps the GRPC calls in the core interfaces.

Package wrappers wraps the GRPC calls in the core interfaces.

Index

Package Files

balancer.go ca-wrappers.go client.go errors.go interceptors.go pb-marshalling.go publisher-wrappers.go ra-wrappers.go sa-wrappers.go server.go va-wrappers.go

Variables

var CodedError = grpc.Errorf

CodedError is a alias required to appease go vet

var ErrMissingParameters = CodedError(codes.FailedPrecondition, "required RPC parameter was missing")

func AuthzToPB Uses

func AuthzToPB(authz core.Authorization) (*corepb.Authorization, error)

func CertToPB Uses

func CertToPB(cert core.Certificate) *corepb.Certificate

func ChallengeToPB Uses

func ChallengeToPB(challenge core.Challenge) (*corepb.Challenge, error)

func ClientSetup Uses

func ClientSetup(c *cmd.GRPCClientConfig, tlsConfig *tls.Config, metrics clientMetrics, clk clock.Clock) (*grpc.ClientConn, error)

ClientSetup creates a gRPC TransportCredentials that presents a client certificate and validates the the server certificate based on the provided *tls.Config. It dials the remote service and returns a grpc.ClientConn if successful.

func NewClientMetrics Uses

func NewClientMetrics(stats registry) clientMetrics

NewClientMetrics constructs a *grpc_prometheus.ClientMetrics, registered with the given registry, with timing histogram enabled. It must be called a maximum of once per registry, or there will be conflicting names.

func NewServer Uses

func NewServer(c *cmd.GRPCServerConfig, tlsConfig *tls.Config, metrics serverMetrics, clk clock.Clock) (*grpc.Server, net.Listener, error)

NewServer creates a gRPC server that uses the provided *tls.Config, and verifies that clients present a certificate that (a) is signed by one of the configured ClientCAs, and (b) contains at least one subjectAlternativeName matching the accepted list from GRPCServerConfig.

func NewServerMetrics Uses

func NewServerMetrics(stats registry) serverMetrics

NewServerMetrics registers metrics with a registry. It must be called a maximum of once per registry, or there will be conflicting names. It constructs and registers a *grpc_prometheus.ServerMetrics with timing histogram enabled as well as a prometheus Histogram for RPC latency.

func NewValidationAuthorityGRPCClient Uses

func NewValidationAuthorityGRPCClient(cc *ggrpc.ClientConn) core.ValidationAuthority

func PBToAuthz Uses

func PBToAuthz(pb *corepb.Authorization) (core.Authorization, error)

func PBToAuthzMap Uses

func PBToAuthzMap(pb *sapb.Authorizations) (map[string]*core.Authorization, error)

PBToAuthzMap converts a protobuf map of domains mapped to protobuf authorizations to a golang map[string]*core.Authorization.

func PBToCert Uses

func PBToCert(pb *corepb.Certificate) (core.Certificate, error)

func PBToProblemDetails Uses

func PBToProblemDetails(in *corepb.ProblemDetails) (*probs.ProblemDetails, error)

func PBToValidationRecord Uses

func PBToValidationRecord(in *corepb.ValidationRecord) (record core.ValidationRecord, err error)

func ProblemDetailsToPB Uses

func ProblemDetailsToPB(prob *probs.ProblemDetails) (*corepb.ProblemDetails, error)

func RegisterValidationAuthorityGRPCServer Uses

func RegisterValidationAuthorityGRPCServer(s *ggrpc.Server, impl core.ValidationAuthority) error

func ValidationRecordToPB Uses

func ValidationRecordToPB(record core.ValidationRecord) (*corepb.ValidationRecord, error)

func ValidationResultToPB Uses

func ValidationResultToPB(records []core.ValidationRecord, prob *probs.ProblemDetails) (*vapb.ValidationResult, error)

type CertificateAuthorityClientWrapper Uses

type CertificateAuthorityClientWrapper struct {
    // contains filtered or unexported fields
}

CertificateAuthorityClientWrapper is the gRPC version of a core.CertificateAuthority client. It composites a CertificateAuthorityClient and OCSPGeneratorClient, either of which may be nil if the calling code doesn't intend to use the relevant functions. Once we've fully moved to gRPC, calling code will do away with this wrapper and directly instantiate exactly the type of client it needs.

func NewCertificateAuthorityClient Uses

func NewCertificateAuthorityClient(inner caPB.CertificateAuthorityClient, innerOCSP caPB.OCSPGeneratorClient) *CertificateAuthorityClientWrapper

func (CertificateAuthorityClientWrapper) GenerateOCSP Uses

func (cac CertificateAuthorityClientWrapper) GenerateOCSP(ctx context.Context, ocspReq core.OCSPSigningRequest) ([]byte, error)

func (CertificateAuthorityClientWrapper) IssueCertificateForPrecertificate Uses

func (cac CertificateAuthorityClientWrapper) IssueCertificateForPrecertificate(ctx context.Context, req *caPB.IssueCertificateForPrecertificateRequest) (core.Certificate, error)

func (CertificateAuthorityClientWrapper) IssuePrecertificate Uses

func (cac CertificateAuthorityClientWrapper) IssuePrecertificate(ctx context.Context, issueReq *caPB.IssueCertificateRequest) (*caPB.IssuePrecertificateResponse, error)

type CertificateAuthorityServerWrapper Uses

type CertificateAuthorityServerWrapper struct {
    // contains filtered or unexported fields
}

CertificateAuthorityServerWrapper is the gRPC version of a core.CertificateAuthority server

func NewCertificateAuthorityServer Uses

func NewCertificateAuthorityServer(inner core.CertificateAuthority) *CertificateAuthorityServerWrapper

func (*CertificateAuthorityServerWrapper) GenerateOCSP Uses

func (cas *CertificateAuthorityServerWrapper) GenerateOCSP(ctx context.Context, req *caPB.GenerateOCSPRequest) (*caPB.OCSPResponse, error)

func (*CertificateAuthorityServerWrapper) IssueCertificateForPrecertificate Uses

func (cas *CertificateAuthorityServerWrapper) IssueCertificateForPrecertificate(ctx context.Context, req *caPB.IssueCertificateForPrecertificateRequest) (*corepb.Certificate, error)

func (*CertificateAuthorityServerWrapper) IssuePrecertificate Uses

func (cas *CertificateAuthorityServerWrapper) IssuePrecertificate(ctx context.Context, request *caPB.IssueCertificateRequest) (*caPB.IssuePrecertificateResponse, error)

type PublisherClientWrapper Uses

type PublisherClientWrapper struct {
    // contains filtered or unexported fields
}

PublisherClientWrapper is a wrapper needed to satisfy the interfaces in core/interfaces.go

func NewPublisherClientWrapper Uses

func NewPublisherClientWrapper(inner pubpb.PublisherClient) *PublisherClientWrapper

NewPublisherClientWrapper returns an initialized PublisherClientWrapper

func (*PublisherClientWrapper) SubmitToSingleCTWithResult Uses

func (pc *PublisherClientWrapper) SubmitToSingleCTWithResult(ctx context.Context, req *pubpb.Request) (*pubpb.Result, error)

SubmitToSingleCTWithResult is a wrapper

type PublisherServerWrapper Uses

type PublisherServerWrapper struct {
    // contains filtered or unexported fields
}

PublisherServerWrapper is the gRPC version of a core.Publisher

func NewPublisherServerWrapper Uses

func NewPublisherServerWrapper(inner *publisher.Impl) *PublisherServerWrapper

NewPublisherServerWrapper returns an initialized PublisherServerWrapper

func (*PublisherServerWrapper) SubmitToSingleCTWithResult Uses

func (pub *PublisherServerWrapper) SubmitToSingleCTWithResult(ctx context.Context, req *pubpb.Request) (*pubpb.Result, error)

SubmitToSingleCTWithResult is a wrapper

type RegistrationAuthorityClientWrapper Uses

type RegistrationAuthorityClientWrapper struct {
    // contains filtered or unexported fields
}

RegistrationAuthorityClientWrapper is the gRPC version of a core.RegistrationAuthority client

func NewRegistrationAuthorityClient Uses

func NewRegistrationAuthorityClient(inner rapb.RegistrationAuthorityClient) *RegistrationAuthorityClientWrapper

func (RegistrationAuthorityClientWrapper) AdministrativelyRevokeCertificate Uses

func (rac RegistrationAuthorityClientWrapper) AdministrativelyRevokeCertificate(ctx context.Context, cert x509.Certificate, code revocation.Reason, adminName string) error

func (RegistrationAuthorityClientWrapper) DeactivateAuthorization Uses

func (rac RegistrationAuthorityClientWrapper) DeactivateAuthorization(ctx context.Context, auth core.Authorization) error

func (RegistrationAuthorityClientWrapper) DeactivateRegistration Uses

func (rac RegistrationAuthorityClientWrapper) DeactivateRegistration(ctx context.Context, reg core.Registration) error

func (*RegistrationAuthorityClientWrapper) FinalizeOrder Uses

func (ras *RegistrationAuthorityClientWrapper) FinalizeOrder(ctx context.Context, request *rapb.FinalizeOrderRequest) (*corepb.Order, error)

func (RegistrationAuthorityClientWrapper) NewAuthorization Uses

func (rac RegistrationAuthorityClientWrapper) NewAuthorization(ctx context.Context, authz core.Authorization, regID int64) (core.Authorization, error)

func (RegistrationAuthorityClientWrapper) NewCertificate Uses

func (rac RegistrationAuthorityClientWrapper) NewCertificate(ctx context.Context, csr core.CertificateRequest, regID int64) (core.Certificate, error)

func (*RegistrationAuthorityClientWrapper) NewOrder Uses

func (ras *RegistrationAuthorityClientWrapper) NewOrder(ctx context.Context, request *rapb.NewOrderRequest) (*corepb.Order, error)

func (RegistrationAuthorityClientWrapper) NewRegistration Uses

func (rac RegistrationAuthorityClientWrapper) NewRegistration(ctx context.Context, reg core.Registration) (core.Registration, error)

func (RegistrationAuthorityClientWrapper) PerformValidation Uses

func (rac RegistrationAuthorityClientWrapper) PerformValidation(
    ctx context.Context,
    req *rapb.PerformValidationRequest) (*corepb.Authorization, error)

func (RegistrationAuthorityClientWrapper) RevokeCertificateWithReg Uses

func (rac RegistrationAuthorityClientWrapper) RevokeCertificateWithReg(ctx context.Context, cert x509.Certificate, code revocation.Reason, regID int64) error

func (RegistrationAuthorityClientWrapper) UpdateRegistration Uses

func (rac RegistrationAuthorityClientWrapper) UpdateRegistration(ctx context.Context, base, updates core.Registration) (core.Registration, error)

type RegistrationAuthorityServerWrapper Uses

type RegistrationAuthorityServerWrapper struct {
    // contains filtered or unexported fields
}

RegistrationAuthorityServerWrapper is the gRPC version of a core.RegistrationAuthority server

func NewRegistrationAuthorityServer Uses

func NewRegistrationAuthorityServer(inner core.RegistrationAuthority) *RegistrationAuthorityServerWrapper

func (*RegistrationAuthorityServerWrapper) AdministrativelyRevokeCertificate Uses

func (ras *RegistrationAuthorityServerWrapper) AdministrativelyRevokeCertificate(ctx context.Context, request *rapb.AdministrativelyRevokeCertificateRequest) (*corepb.Empty, error)

func (*RegistrationAuthorityServerWrapper) DeactivateAuthorization Uses

func (ras *RegistrationAuthorityServerWrapper) DeactivateAuthorization(ctx context.Context, request *corepb.Authorization) (*corepb.Empty, error)

func (*RegistrationAuthorityServerWrapper) DeactivateRegistration Uses

func (ras *RegistrationAuthorityServerWrapper) DeactivateRegistration(ctx context.Context, request *corepb.Registration) (*corepb.Empty, error)

func (*RegistrationAuthorityServerWrapper) FinalizeOrder Uses

func (ras *RegistrationAuthorityServerWrapper) FinalizeOrder(ctx context.Context, request *rapb.FinalizeOrderRequest) (*corepb.Order, error)

func (*RegistrationAuthorityServerWrapper) NewAuthorization Uses

func (ras *RegistrationAuthorityServerWrapper) NewAuthorization(ctx context.Context, request *rapb.NewAuthorizationRequest) (*corepb.Authorization, error)

func (*RegistrationAuthorityServerWrapper) NewCertificate Uses

func (ras *RegistrationAuthorityServerWrapper) NewCertificate(ctx context.Context, request *rapb.NewCertificateRequest) (*corepb.Certificate, error)

func (*RegistrationAuthorityServerWrapper) NewOrder Uses

func (ras *RegistrationAuthorityServerWrapper) NewOrder(ctx context.Context, request *rapb.NewOrderRequest) (*corepb.Order, error)

func (*RegistrationAuthorityServerWrapper) NewRegistration Uses

func (ras *RegistrationAuthorityServerWrapper) NewRegistration(ctx context.Context, request *corepb.Registration) (*corepb.Registration, error)

func (*RegistrationAuthorityServerWrapper) PerformValidation Uses

func (ras *RegistrationAuthorityServerWrapper) PerformValidation(
    ctx context.Context,
    request *rapb.PerformValidationRequest) (*corepb.Authorization, error)

func (*RegistrationAuthorityServerWrapper) RevokeCertificateWithReg Uses

func (ras *RegistrationAuthorityServerWrapper) RevokeCertificateWithReg(ctx context.Context, request *rapb.RevokeCertificateWithRegRequest) (*corepb.Empty, error)

func (*RegistrationAuthorityServerWrapper) UpdateRegistration Uses

func (ras *RegistrationAuthorityServerWrapper) UpdateRegistration(ctx context.Context, request *rapb.UpdateRegistrationRequest) (*corepb.Registration, error)

type StorageAuthorityClientWrapper Uses

type StorageAuthorityClientWrapper struct {
    // contains filtered or unexported fields
}

StorageAuthorityClientWrapper is the gRPC version of a core.StorageAuthority client

func NewStorageAuthorityClient Uses

func NewStorageAuthorityClient(inner sapb.StorageAuthorityClient) *StorageAuthorityClientWrapper

func (StorageAuthorityClientWrapper) AddCertificate Uses

func (sac StorageAuthorityClientWrapper) AddCertificate(
    ctx context.Context,
    der []byte,
    regID int64,
    ocspResponse []byte,
    issued *time.Time) (string, error)

func (StorageAuthorityClientWrapper) AddPrecertificate Uses

func (sac StorageAuthorityClientWrapper) AddPrecertificate(
    ctx context.Context,
    req *sapb.AddCertificateRequest,
) (*corepb.Empty, error)

func (StorageAuthorityClientWrapper) AddSerial Uses

func (sac StorageAuthorityClientWrapper) AddSerial(
    ctx context.Context,
    req *sapb.AddSerialRequest,
) (*corepb.Empty, error)

func (StorageAuthorityClientWrapper) CountCertificatesByNames Uses

func (sac StorageAuthorityClientWrapper) CountCertificatesByNames(ctx context.Context, domains []string, earliest, latest time.Time) ([]*sapb.CountByNames_MapElement, error)

func (StorageAuthorityClientWrapper) CountFQDNSets Uses

func (sac StorageAuthorityClientWrapper) CountFQDNSets(ctx context.Context, window time.Duration, domains []string) (int64, error)

func (StorageAuthorityClientWrapper) CountInvalidAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) CountInvalidAuthorizations2(ctx context.Context, req *sapb.CountInvalidAuthorizationsRequest) (*sapb.Count, error)

func (StorageAuthorityClientWrapper) CountOrders Uses

func (sac StorageAuthorityClientWrapper) CountOrders(ctx context.Context, acctID int64, earliest, latest time.Time) (int, error)

func (StorageAuthorityClientWrapper) CountPendingAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) CountPendingAuthorizations2(ctx context.Context, req *sapb.RegistrationID) (*sapb.Count, error)

func (StorageAuthorityClientWrapper) CountRegistrationsByIP Uses

func (sac StorageAuthorityClientWrapper) CountRegistrationsByIP(ctx context.Context, ip net.IP, earliest, latest time.Time) (int, error)

func (StorageAuthorityClientWrapper) CountRegistrationsByIPRange Uses

func (sac StorageAuthorityClientWrapper) CountRegistrationsByIPRange(ctx context.Context, ip net.IP, earliest, latest time.Time) (int, error)

func (StorageAuthorityClientWrapper) DeactivateAuthorization2 Uses

func (sas StorageAuthorityClientWrapper) DeactivateAuthorization2(ctx context.Context, req *sapb.AuthorizationID2) (*corepb.Empty, error)

func (StorageAuthorityClientWrapper) DeactivateRegistration Uses

func (sac StorageAuthorityClientWrapper) DeactivateRegistration(ctx context.Context, id int64) error

func (StorageAuthorityClientWrapper) FQDNSetExists Uses

func (sac StorageAuthorityClientWrapper) FQDNSetExists(ctx context.Context, domains []string) (bool, error)

func (StorageAuthorityClientWrapper) FinalizeAuthorization2 Uses

func (sas StorageAuthorityClientWrapper) FinalizeAuthorization2(ctx context.Context, req *sapb.FinalizeAuthorizationRequest) error

func (StorageAuthorityClientWrapper) FinalizeOrder Uses

func (sac StorageAuthorityClientWrapper) FinalizeOrder(ctx context.Context, order *corepb.Order) error

func (StorageAuthorityClientWrapper) GetAuthorization2 Uses

func (sas StorageAuthorityClientWrapper) GetAuthorization2(ctx context.Context, req *sapb.AuthorizationID2) (*corepb.Authorization, error)

func (StorageAuthorityClientWrapper) GetAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) GetAuthorizations2(ctx context.Context, req *sapb.GetAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityClientWrapper) GetCertificate Uses

func (sac StorageAuthorityClientWrapper) GetCertificate(ctx context.Context, serial string) (core.Certificate, error)

func (StorageAuthorityClientWrapper) GetCertificateStatus Uses

func (sac StorageAuthorityClientWrapper) GetCertificateStatus(ctx context.Context, serial string) (core.CertificateStatus, error)

func (StorageAuthorityClientWrapper) GetOrder Uses

func (sas StorageAuthorityClientWrapper) GetOrder(ctx context.Context, request *sapb.OrderRequest) (*corepb.Order, error)

func (StorageAuthorityClientWrapper) GetOrderForNames Uses

func (sas StorageAuthorityClientWrapper) GetOrderForNames(
    ctx context.Context,
    request *sapb.GetOrderForNamesRequest) (*corepb.Order, error)

func (StorageAuthorityClientWrapper) GetPendingAuthorization2 Uses

func (sas StorageAuthorityClientWrapper) GetPendingAuthorization2(ctx context.Context, req *sapb.GetPendingAuthorizationRequest) (*corepb.Authorization, error)

func (StorageAuthorityClientWrapper) GetPrecertificate Uses

func (sac StorageAuthorityClientWrapper) GetPrecertificate(ctx context.Context, serial *sapb.Serial) (*corepb.Certificate, error)

func (StorageAuthorityClientWrapper) GetRegistration Uses

func (sac StorageAuthorityClientWrapper) GetRegistration(ctx context.Context, regID int64) (core.Registration, error)

func (StorageAuthorityClientWrapper) GetRegistrationByKey Uses

func (sac StorageAuthorityClientWrapper) GetRegistrationByKey(ctx context.Context, key *jose.JSONWebKey) (core.Registration, error)

func (StorageAuthorityClientWrapper) GetValidAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) GetValidAuthorizations2(ctx context.Context, req *sapb.GetValidAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityClientWrapper) GetValidOrderAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) GetValidOrderAuthorizations2(ctx context.Context, req *sapb.GetValidOrderAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityClientWrapper) NewAuthorizations2 Uses

func (sas StorageAuthorityClientWrapper) NewAuthorizations2(ctx context.Context, req *sapb.AddPendingAuthorizationsRequest) (*sapb.Authorization2IDs, error)

func (StorageAuthorityClientWrapper) NewOrder Uses

func (sas StorageAuthorityClientWrapper) NewOrder(ctx context.Context, request *corepb.Order) (*corepb.Order, error)

func (StorageAuthorityClientWrapper) NewRegistration Uses

func (sac StorageAuthorityClientWrapper) NewRegistration(ctx context.Context, reg core.Registration) (core.Registration, error)

func (StorageAuthorityClientWrapper) PreviousCertificateExists Uses

func (sac StorageAuthorityClientWrapper) PreviousCertificateExists(
    ctx context.Context,
    req *sapb.PreviousCertificateExistsRequest,
) (*sapb.Exists, error)

func (StorageAuthorityClientWrapper) RevokeCertificate Uses

func (sas StorageAuthorityClientWrapper) RevokeCertificate(ctx context.Context, req *sapb.RevokeCertificateRequest) error

func (StorageAuthorityClientWrapper) SetOrderError Uses

func (sac StorageAuthorityClientWrapper) SetOrderError(ctx context.Context, order *corepb.Order) error

func (StorageAuthorityClientWrapper) SetOrderProcessing Uses

func (sac StorageAuthorityClientWrapper) SetOrderProcessing(ctx context.Context, order *corepb.Order) error

func (StorageAuthorityClientWrapper) UpdateRegistration Uses

func (sac StorageAuthorityClientWrapper) UpdateRegistration(ctx context.Context, reg core.Registration) error

type StorageAuthorityServerWrapper Uses

type StorageAuthorityServerWrapper struct {
    core.StorageAuthority
    // contains filtered or unexported fields
}

StorageAuthorityServerWrapper is the gRPC version of a core.ServerAuthority server

func NewStorageAuthorityServer Uses

func NewStorageAuthorityServer(inner core.StorageAuthority) *StorageAuthorityServerWrapper

func (StorageAuthorityServerWrapper) AddCertificate Uses

func (sas StorageAuthorityServerWrapper) AddCertificate(ctx context.Context, request *sapb.AddCertificateRequest) (*sapb.AddCertificateResponse, error)

func (StorageAuthorityServerWrapper) CountCertificatesByNames Uses

func (sas StorageAuthorityServerWrapper) CountCertificatesByNames(ctx context.Context, request *sapb.CountCertificatesByNamesRequest) (*sapb.CountByNames, error)

func (StorageAuthorityServerWrapper) CountFQDNSets Uses

func (sas StorageAuthorityServerWrapper) CountFQDNSets(ctx context.Context, request *sapb.CountFQDNSetsRequest) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) CountInvalidAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) CountInvalidAuthorizations2(ctx context.Context, req *sapb.CountInvalidAuthorizationsRequest) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) CountOrders Uses

func (sas StorageAuthorityServerWrapper) CountOrders(ctx context.Context, request *sapb.CountOrdersRequest) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) CountPendingAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) CountPendingAuthorizations2(ctx context.Context, req *sapb.RegistrationID) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) CountRegistrationsByIP Uses

func (sas StorageAuthorityServerWrapper) CountRegistrationsByIP(ctx context.Context, request *sapb.CountRegistrationsByIPRequest) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) CountRegistrationsByIPRange Uses

func (sas StorageAuthorityServerWrapper) CountRegistrationsByIPRange(ctx context.Context, request *sapb.CountRegistrationsByIPRequest) (*sapb.Count, error)

func (StorageAuthorityServerWrapper) DeactivateAuthorization2 Uses

func (sas StorageAuthorityServerWrapper) DeactivateAuthorization2(ctx context.Context, req *sapb.AuthorizationID2) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) DeactivateRegistration Uses

func (sas StorageAuthorityServerWrapper) DeactivateRegistration(ctx context.Context, request *sapb.RegistrationID) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) FQDNSetExists Uses

func (sas StorageAuthorityServerWrapper) FQDNSetExists(ctx context.Context, request *sapb.FQDNSetExistsRequest) (*sapb.Exists, error)

func (StorageAuthorityServerWrapper) FinalizeAuthorization2 Uses

func (sas StorageAuthorityServerWrapper) FinalizeAuthorization2(ctx context.Context, req *sapb.FinalizeAuthorizationRequest) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) FinalizeOrder Uses

func (sas StorageAuthorityServerWrapper) FinalizeOrder(ctx context.Context, order *corepb.Order) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) GetAuthorization2 Uses

func (sas StorageAuthorityServerWrapper) GetAuthorization2(ctx context.Context, request *sapb.AuthorizationID2) (*corepb.Authorization, error)

func (StorageAuthorityServerWrapper) GetAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) GetAuthorizations2(ctx context.Context, req *sapb.GetAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityServerWrapper) GetCertificate Uses

func (sas StorageAuthorityServerWrapper) GetCertificate(ctx context.Context, request *sapb.Serial) (*corepb.Certificate, error)

func (StorageAuthorityServerWrapper) GetCertificateStatus Uses

func (sas StorageAuthorityServerWrapper) GetCertificateStatus(ctx context.Context, request *sapb.Serial) (*sapb.CertificateStatus, error)

func (StorageAuthorityServerWrapper) GetOrder Uses

func (sas StorageAuthorityServerWrapper) GetOrder(ctx context.Context, request *sapb.OrderRequest) (*corepb.Order, error)

func (StorageAuthorityServerWrapper) GetOrderForNames Uses

func (sas StorageAuthorityServerWrapper) GetOrderForNames(
    ctx context.Context,
    request *sapb.GetOrderForNamesRequest) (*corepb.Order, error)

func (StorageAuthorityServerWrapper) GetPendingAuthorization2 Uses

func (sas StorageAuthorityServerWrapper) GetPendingAuthorization2(ctx context.Context, req *sapb.GetPendingAuthorizationRequest) (*corepb.Authorization, error)

func (StorageAuthorityServerWrapper) GetPrecertificate Uses

func (sas StorageAuthorityServerWrapper) GetPrecertificate(ctx context.Context, request *sapb.Serial) (*corepb.Certificate, error)

func (StorageAuthorityServerWrapper) GetRegistration Uses

func (sas StorageAuthorityServerWrapper) GetRegistration(ctx context.Context, request *sapb.RegistrationID) (*corepb.Registration, error)

func (StorageAuthorityServerWrapper) GetRegistrationByKey Uses

func (sas StorageAuthorityServerWrapper) GetRegistrationByKey(ctx context.Context, request *sapb.JSONWebKey) (*corepb.Registration, error)

func (StorageAuthorityServerWrapper) GetValidAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) GetValidAuthorizations2(ctx context.Context, req *sapb.GetValidAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityServerWrapper) GetValidOrderAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) GetValidOrderAuthorizations2(ctx context.Context, req *sapb.GetValidOrderAuthorizationsRequest) (*sapb.Authorizations, error)

func (StorageAuthorityServerWrapper) NewAuthorizations2 Uses

func (sas StorageAuthorityServerWrapper) NewAuthorizations2(ctx context.Context, req *sapb.AddPendingAuthorizationsRequest) (*sapb.Authorization2IDs, error)

func (StorageAuthorityServerWrapper) NewOrder Uses

func (sas StorageAuthorityServerWrapper) NewOrder(ctx context.Context, request *corepb.Order) (*corepb.Order, error)

func (StorageAuthorityServerWrapper) NewRegistration Uses

func (sas StorageAuthorityServerWrapper) NewRegistration(ctx context.Context, request *corepb.Registration) (*corepb.Registration, error)

func (StorageAuthorityServerWrapper) PreviousCertificateExists Uses

func (sac StorageAuthorityServerWrapper) PreviousCertificateExists(
    ctx context.Context,
    req *sapb.PreviousCertificateExistsRequest,
) (*sapb.Exists, error)

func (StorageAuthorityServerWrapper) RevokeCertificate Uses

func (sas StorageAuthorityServerWrapper) RevokeCertificate(ctx context.Context, req *sapb.RevokeCertificateRequest) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) SetOrderError Uses

func (sas StorageAuthorityServerWrapper) SetOrderError(ctx context.Context, order *corepb.Order) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) SetOrderProcessing Uses

func (sas StorageAuthorityServerWrapper) SetOrderProcessing(ctx context.Context, order *corepb.Order) (*corepb.Empty, error)

func (StorageAuthorityServerWrapper) UpdateRegistration Uses

func (sas StorageAuthorityServerWrapper) UpdateRegistration(ctx context.Context, request *corepb.Registration) (*corepb.Empty, error)

type ValidationAuthorityGRPCClient Uses

type ValidationAuthorityGRPCClient struct {
    // contains filtered or unexported fields
}

func (ValidationAuthorityGRPCClient) PerformValidation Uses

func (vac ValidationAuthorityGRPCClient) PerformValidation(ctx context.Context, domain string, challenge core.Challenge, authz core.Authorization) ([]core.ValidationRecord, error)

PerformValidation has the VA revalidate the specified challenge and returns the updated Challenge object.

type ValidationAuthorityGRPCServer Uses

type ValidationAuthorityGRPCServer struct {
    // contains filtered or unexported fields
}

func (*ValidationAuthorityGRPCServer) PerformValidation Uses

func (s *ValidationAuthorityGRPCServer) PerformValidation(ctx context.Context, in *vaPB.PerformValidationRequest) (*vaPB.ValidationResult, error)

Directories

PathSynopsis
creds
test_proto

Package grpc imports 33 packages (graph) and is imported by 163 packages. Updated 2019-11-13. Refresh now. Tools for package owners.