Documentation

Overview

    Package proto is a generated protocol buffer package.

    It is generated from these files:

    sa/proto/sa.proto
    

    It has these top-level messages:

    RegistrationID
    JsonWebKey
    AuthorizationID
    GetValidAuthorizationsRequest
    ValidAuthorizations
    CertificateStatus
    Serial
    Range
    Count
    CountCertificatesByNamesRequest
    CountByNames
    CountRegistrationsByIPRequest
    CountInvalidAuthorizationsRequest
    GetSCTReceiptRequest
    CountFQDNSetsRequest
    FQDNSetExistsRequest
    Exists
    MarkCertificateRevokedRequest
    AddCertificateRequest
    AddCertificateResponse
    SignedCertificateTimestamp
    RevokeAuthorizationsByDomainRequest
    RevokeAuthorizationsByDomainResponse
    

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func RegisterStorageAuthorityServer

    func RegisterStorageAuthorityServer(s *grpc.Server, srv StorageAuthorityServer)

    Types

    type AddCertificateRequest

    type AddCertificateRequest struct {
    	Der              []byte `protobuf:"bytes,1,opt,name=der" json:"der,omitempty"`
    	RegID            *int64 `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*AddCertificateRequest) Descriptor

    func (*AddCertificateRequest) Descriptor() ([]byte, []int)

    func (*AddCertificateRequest) GetDer

    func (m *AddCertificateRequest) GetDer() []byte

    func (*AddCertificateRequest) GetRegID

    func (m *AddCertificateRequest) GetRegID() int64

    func (*AddCertificateRequest) ProtoMessage

    func (*AddCertificateRequest) ProtoMessage()

    func (*AddCertificateRequest) Reset

    func (m *AddCertificateRequest) Reset()

    func (*AddCertificateRequest) String

    func (m *AddCertificateRequest) String() string

    type AddCertificateResponse

    type AddCertificateResponse struct {
    	Digest           *string `protobuf:"bytes,1,opt,name=digest" json:"digest,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*AddCertificateResponse) Descriptor

    func (*AddCertificateResponse) Descriptor() ([]byte, []int)

    func (*AddCertificateResponse) GetDigest

    func (m *AddCertificateResponse) GetDigest() string

    func (*AddCertificateResponse) ProtoMessage

    func (*AddCertificateResponse) ProtoMessage()

    func (*AddCertificateResponse) Reset

    func (m *AddCertificateResponse) Reset()

    func (*AddCertificateResponse) String

    func (m *AddCertificateResponse) String() string

    type AuthorizationID

    type AuthorizationID struct {
    	Id               *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*AuthorizationID) Descriptor

    func (*AuthorizationID) Descriptor() ([]byte, []int)

    func (*AuthorizationID) GetId

    func (m *AuthorizationID) GetId() string

    func (*AuthorizationID) ProtoMessage

    func (*AuthorizationID) ProtoMessage()

    func (*AuthorizationID) Reset

    func (m *AuthorizationID) Reset()

    func (*AuthorizationID) String

    func (m *AuthorizationID) String() string

    type CertificateStatus

    type CertificateStatus struct {
    	Serial                *string `protobuf:"bytes,1,opt,name=serial" json:"serial,omitempty"`
    	SubscriberApproved    *bool   `protobuf:"varint,2,opt,name=subscriberApproved" json:"subscriberApproved,omitempty"`
    	Status                *string `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
    	OcspLastUpdated       *int64  `protobuf:"varint,4,opt,name=ocspLastUpdated" json:"ocspLastUpdated,omitempty"`
    	RevokedDate           *int64  `protobuf:"varint,5,opt,name=revokedDate" json:"revokedDate,omitempty"`
    	RevokedReason         *int64  `protobuf:"varint,6,opt,name=revokedReason" json:"revokedReason,omitempty"`
    	LastExpirationNagSent *int64  `protobuf:"varint,7,opt,name=lastExpirationNagSent" json:"lastExpirationNagSent,omitempty"`
    	OcspResponse          []byte  `protobuf:"bytes,8,opt,name=ocspResponse" json:"ocspResponse,omitempty"`
    	NotAfter              *int64  `protobuf:"varint,9,opt,name=notAfter" json:"notAfter,omitempty"`
    	IsExpired             *bool   `protobuf:"varint,10,opt,name=isExpired" json:"isExpired,omitempty"`
    	XXX_unrecognized      []byte  `json:"-"`
    }

    func (*CertificateStatus) Descriptor

    func (*CertificateStatus) Descriptor() ([]byte, []int)

    func (*CertificateStatus) GetIsExpired

    func (m *CertificateStatus) GetIsExpired() bool

    func (*CertificateStatus) GetLastExpirationNagSent

    func (m *CertificateStatus) GetLastExpirationNagSent() int64

    func (*CertificateStatus) GetNotAfter

    func (m *CertificateStatus) GetNotAfter() int64

    func (*CertificateStatus) GetOcspLastUpdated

    func (m *CertificateStatus) GetOcspLastUpdated() int64

    func (*CertificateStatus) GetOcspResponse

    func (m *CertificateStatus) GetOcspResponse() []byte

    func (*CertificateStatus) GetRevokedDate

    func (m *CertificateStatus) GetRevokedDate() int64

    func (*CertificateStatus) GetRevokedReason

    func (m *CertificateStatus) GetRevokedReason() int64

    func (*CertificateStatus) GetSerial

    func (m *CertificateStatus) GetSerial() string

    func (*CertificateStatus) GetStatus

    func (m *CertificateStatus) GetStatus() string

    func (*CertificateStatus) GetSubscriberApproved

    func (m *CertificateStatus) GetSubscriberApproved() bool

    func (*CertificateStatus) ProtoMessage

    func (*CertificateStatus) ProtoMessage()

    func (*CertificateStatus) Reset

    func (m *CertificateStatus) Reset()

    func (*CertificateStatus) String

    func (m *CertificateStatus) String() string

    type Count

    type Count struct {
    	Count            *int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*Count) Descriptor

    func (*Count) Descriptor() ([]byte, []int)

    func (*Count) GetCount

    func (m *Count) GetCount() int64

    func (*Count) ProtoMessage

    func (*Count) ProtoMessage()

    func (*Count) Reset

    func (m *Count) Reset()

    func (*Count) String

    func (m *Count) String() string

    type CountByNames

    type CountByNames struct {
    	CountByNames     []*CountByNames_MapElement `protobuf:"bytes,1,rep,name=countByNames" json:"countByNames,omitempty"`
    	XXX_unrecognized []byte                     `json:"-"`
    }

    func (*CountByNames) Descriptor

    func (*CountByNames) Descriptor() ([]byte, []int)

    func (*CountByNames) GetCountByNames

    func (m *CountByNames) GetCountByNames() []*CountByNames_MapElement

    func (*CountByNames) ProtoMessage

    func (*CountByNames) ProtoMessage()

    func (*CountByNames) Reset

    func (m *CountByNames) Reset()

    func (*CountByNames) String

    func (m *CountByNames) String() string

    type CountByNames_MapElement

    type CountByNames_MapElement struct {
    	Name             *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    	Count            *int64  `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*CountByNames_MapElement) Descriptor

    func (*CountByNames_MapElement) Descriptor() ([]byte, []int)

    func (*CountByNames_MapElement) GetCount

    func (m *CountByNames_MapElement) GetCount() int64

    func (*CountByNames_MapElement) GetName

    func (m *CountByNames_MapElement) GetName() string

    func (*CountByNames_MapElement) ProtoMessage

    func (*CountByNames_MapElement) ProtoMessage()

    func (*CountByNames_MapElement) Reset

    func (m *CountByNames_MapElement) Reset()

    func (*CountByNames_MapElement) String

    func (m *CountByNames_MapElement) String() string

    type CountCertificatesByNamesRequest

    type CountCertificatesByNamesRequest struct {
    	Range            *Range   `protobuf:"bytes,1,opt,name=range" json:"range,omitempty"`
    	Names            []string `protobuf:"bytes,2,rep,name=names" json:"names,omitempty"`
    	XXX_unrecognized []byte   `json:"-"`
    }

    func (*CountCertificatesByNamesRequest) Descriptor

    func (*CountCertificatesByNamesRequest) Descriptor() ([]byte, []int)

    func (*CountCertificatesByNamesRequest) GetNames

    func (m *CountCertificatesByNamesRequest) GetNames() []string

    func (*CountCertificatesByNamesRequest) GetRange

    func (m *CountCertificatesByNamesRequest) GetRange() *Range

    func (*CountCertificatesByNamesRequest) ProtoMessage

    func (*CountCertificatesByNamesRequest) ProtoMessage()

    func (*CountCertificatesByNamesRequest) Reset

    func (*CountCertificatesByNamesRequest) String

    type CountFQDNSetsRequest

    type CountFQDNSetsRequest struct {
    	Window           *int64   `protobuf:"varint,1,opt,name=window" json:"window,omitempty"`
    	Domains          []string `protobuf:"bytes,2,rep,name=domains" json:"domains,omitempty"`
    	XXX_unrecognized []byte   `json:"-"`
    }

    func (*CountFQDNSetsRequest) Descriptor

    func (*CountFQDNSetsRequest) Descriptor() ([]byte, []int)

    func (*CountFQDNSetsRequest) GetDomains

    func (m *CountFQDNSetsRequest) GetDomains() []string

    func (*CountFQDNSetsRequest) GetWindow

    func (m *CountFQDNSetsRequest) GetWindow() int64

    func (*CountFQDNSetsRequest) ProtoMessage

    func (*CountFQDNSetsRequest) ProtoMessage()

    func (*CountFQDNSetsRequest) Reset

    func (m *CountFQDNSetsRequest) Reset()

    func (*CountFQDNSetsRequest) String

    func (m *CountFQDNSetsRequest) String() string

    type CountInvalidAuthorizationsRequest

    type CountInvalidAuthorizationsRequest struct {
    	RegistrationID *int64  `protobuf:"varint,1,opt,name=registrationID" json:"registrationID,omitempty"`
    	Hostname       *string `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"`
    	// Count authorizations that expire in this range.
    	Range            *Range `protobuf:"bytes,3,opt,name=range" json:"range,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*CountInvalidAuthorizationsRequest) Descriptor

    func (*CountInvalidAuthorizationsRequest) Descriptor() ([]byte, []int)

    func (*CountInvalidAuthorizationsRequest) GetHostname

    func (m *CountInvalidAuthorizationsRequest) GetHostname() string

    func (*CountInvalidAuthorizationsRequest) GetRange

    func (*CountInvalidAuthorizationsRequest) GetRegistrationID

    func (m *CountInvalidAuthorizationsRequest) GetRegistrationID() int64

    func (*CountInvalidAuthorizationsRequest) ProtoMessage

    func (*CountInvalidAuthorizationsRequest) ProtoMessage()

    func (*CountInvalidAuthorizationsRequest) Reset

    func (*CountInvalidAuthorizationsRequest) String

    type CountRegistrationsByIPRequest

    type CountRegistrationsByIPRequest struct {
    	Ip               []byte `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
    	Range            *Range `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*CountRegistrationsByIPRequest) Descriptor

    func (*CountRegistrationsByIPRequest) Descriptor() ([]byte, []int)

    func (*CountRegistrationsByIPRequest) GetIp

    func (m *CountRegistrationsByIPRequest) GetIp() []byte

    func (*CountRegistrationsByIPRequest) GetRange

    func (m *CountRegistrationsByIPRequest) GetRange() *Range

    func (*CountRegistrationsByIPRequest) ProtoMessage

    func (*CountRegistrationsByIPRequest) ProtoMessage()

    func (*CountRegistrationsByIPRequest) Reset

    func (m *CountRegistrationsByIPRequest) Reset()

    func (*CountRegistrationsByIPRequest) String

    type Exists

    type Exists struct {
    	Exists           *bool  `protobuf:"varint,1,opt,name=exists" json:"exists,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*Exists) Descriptor

    func (*Exists) Descriptor() ([]byte, []int)

    func (*Exists) GetExists

    func (m *Exists) GetExists() bool

    func (*Exists) ProtoMessage

    func (*Exists) ProtoMessage()

    func (*Exists) Reset

    func (m *Exists) Reset()

    func (*Exists) String

    func (m *Exists) String() string

    type FQDNSetExistsRequest

    type FQDNSetExistsRequest struct {
    	Domains          []string `protobuf:"bytes,1,rep,name=domains" json:"domains,omitempty"`
    	XXX_unrecognized []byte   `json:"-"`
    }

    func (*FQDNSetExistsRequest) Descriptor

    func (*FQDNSetExistsRequest) Descriptor() ([]byte, []int)

    func (*FQDNSetExistsRequest) GetDomains

    func (m *FQDNSetExistsRequest) GetDomains() []string

    func (*FQDNSetExistsRequest) ProtoMessage

    func (*FQDNSetExistsRequest) ProtoMessage()

    func (*FQDNSetExistsRequest) Reset

    func (m *FQDNSetExistsRequest) Reset()

    func (*FQDNSetExistsRequest) String

    func (m *FQDNSetExistsRequest) String() string

    type GetSCTReceiptRequest

    type GetSCTReceiptRequest struct {
    	Serial           *string `protobuf:"bytes,1,opt,name=serial" json:"serial,omitempty"`
    	LogID            *string `protobuf:"bytes,2,opt,name=logID" json:"logID,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*GetSCTReceiptRequest) Descriptor

    func (*GetSCTReceiptRequest) Descriptor() ([]byte, []int)

    func (*GetSCTReceiptRequest) GetLogID

    func (m *GetSCTReceiptRequest) GetLogID() string

    func (*GetSCTReceiptRequest) GetSerial

    func (m *GetSCTReceiptRequest) GetSerial() string

    func (*GetSCTReceiptRequest) ProtoMessage

    func (*GetSCTReceiptRequest) ProtoMessage()

    func (*GetSCTReceiptRequest) Reset

    func (m *GetSCTReceiptRequest) Reset()

    func (*GetSCTReceiptRequest) String

    func (m *GetSCTReceiptRequest) String() string

    type GetValidAuthorizationsRequest

    type GetValidAuthorizationsRequest struct {
    	RegistrationID   *int64   `protobuf:"varint,1,opt,name=registrationID" json:"registrationID,omitempty"`
    	Domains          []string `protobuf:"bytes,2,rep,name=domains" json:"domains,omitempty"`
    	Now              *int64   `protobuf:"varint,3,opt,name=now" json:"now,omitempty"`
    	XXX_unrecognized []byte   `json:"-"`
    }

    func (*GetValidAuthorizationsRequest) Descriptor

    func (*GetValidAuthorizationsRequest) Descriptor() ([]byte, []int)

    func (*GetValidAuthorizationsRequest) GetDomains

    func (m *GetValidAuthorizationsRequest) GetDomains() []string

    func (*GetValidAuthorizationsRequest) GetNow

    func (*GetValidAuthorizationsRequest) GetRegistrationID

    func (m *GetValidAuthorizationsRequest) GetRegistrationID() int64

    func (*GetValidAuthorizationsRequest) ProtoMessage

    func (*GetValidAuthorizationsRequest) ProtoMessage()

    func (*GetValidAuthorizationsRequest) Reset

    func (m *GetValidAuthorizationsRequest) Reset()

    func (*GetValidAuthorizationsRequest) String

    type JsonWebKey

    type JsonWebKey struct {
    	Jwk              []byte `protobuf:"bytes,1,opt,name=jwk" json:"jwk,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*JsonWebKey) Descriptor

    func (*JsonWebKey) Descriptor() ([]byte, []int)

    func (*JsonWebKey) GetJwk

    func (m *JsonWebKey) GetJwk() []byte

    func (*JsonWebKey) ProtoMessage

    func (*JsonWebKey) ProtoMessage()

    func (*JsonWebKey) Reset

    func (m *JsonWebKey) Reset()

    func (*JsonWebKey) String

    func (m *JsonWebKey) String() string

    type MarkCertificateRevokedRequest

    type MarkCertificateRevokedRequest struct {
    	Serial           *string `protobuf:"bytes,1,opt,name=serial" json:"serial,omitempty"`
    	Code             *int64  `protobuf:"varint,2,opt,name=code" json:"code,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*MarkCertificateRevokedRequest) Descriptor

    func (*MarkCertificateRevokedRequest) Descriptor() ([]byte, []int)

    func (*MarkCertificateRevokedRequest) GetCode

    func (m *MarkCertificateRevokedRequest) GetCode() int64

    func (*MarkCertificateRevokedRequest) GetSerial

    func (m *MarkCertificateRevokedRequest) GetSerial() string

    func (*MarkCertificateRevokedRequest) ProtoMessage

    func (*MarkCertificateRevokedRequest) ProtoMessage()

    func (*MarkCertificateRevokedRequest) Reset

    func (m *MarkCertificateRevokedRequest) Reset()

    func (*MarkCertificateRevokedRequest) String

    type Range

    type Range struct {
    	Earliest         *int64 `protobuf:"varint,1,opt,name=earliest" json:"earliest,omitempty"`
    	Latest           *int64 `protobuf:"varint,2,opt,name=latest" json:"latest,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*Range) Descriptor

    func (*Range) Descriptor() ([]byte, []int)

    func (*Range) GetEarliest

    func (m *Range) GetEarliest() int64

    func (*Range) GetLatest

    func (m *Range) GetLatest() int64

    func (*Range) ProtoMessage

    func (*Range) ProtoMessage()

    func (*Range) Reset

    func (m *Range) Reset()

    func (*Range) String

    func (m *Range) String() string

    type RegistrationID

    type RegistrationID struct {
    	Id               *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*RegistrationID) Descriptor

    func (*RegistrationID) Descriptor() ([]byte, []int)

    func (*RegistrationID) GetId

    func (m *RegistrationID) GetId() int64

    func (*RegistrationID) ProtoMessage

    func (*RegistrationID) ProtoMessage()

    func (*RegistrationID) Reset

    func (m *RegistrationID) Reset()

    func (*RegistrationID) String

    func (m *RegistrationID) String() string

    type RevokeAuthorizationsByDomainRequest

    type RevokeAuthorizationsByDomainRequest struct {
    	Domain           *string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*RevokeAuthorizationsByDomainRequest) Descriptor

    func (*RevokeAuthorizationsByDomainRequest) Descriptor() ([]byte, []int)

    func (*RevokeAuthorizationsByDomainRequest) GetDomain

    func (*RevokeAuthorizationsByDomainRequest) ProtoMessage

    func (*RevokeAuthorizationsByDomainRequest) ProtoMessage()

    func (*RevokeAuthorizationsByDomainRequest) Reset

    func (*RevokeAuthorizationsByDomainRequest) String

    type RevokeAuthorizationsByDomainResponse

    type RevokeAuthorizationsByDomainResponse struct {
    	Finalized        *int64 `protobuf:"varint,1,opt,name=finalized" json:"finalized,omitempty"`
    	Pending          *int64 `protobuf:"varint,2,opt,name=pending" json:"pending,omitempty"`
    	XXX_unrecognized []byte `json:"-"`
    }

    func (*RevokeAuthorizationsByDomainResponse) Descriptor

    func (*RevokeAuthorizationsByDomainResponse) Descriptor() ([]byte, []int)

    func (*RevokeAuthorizationsByDomainResponse) GetFinalized

    func (m *RevokeAuthorizationsByDomainResponse) GetFinalized() int64

    func (*RevokeAuthorizationsByDomainResponse) GetPending

    func (*RevokeAuthorizationsByDomainResponse) ProtoMessage

    func (*RevokeAuthorizationsByDomainResponse) ProtoMessage()

    func (*RevokeAuthorizationsByDomainResponse) Reset

    func (*RevokeAuthorizationsByDomainResponse) String

    type Serial

    type Serial struct {
    	Serial           *string `protobuf:"bytes,1,opt,name=serial" json:"serial,omitempty"`
    	XXX_unrecognized []byte  `json:"-"`
    }

    func (*Serial) Descriptor

    func (*Serial) Descriptor() ([]byte, []int)

    func (*Serial) GetSerial

    func (m *Serial) GetSerial() string

    func (*Serial) ProtoMessage

    func (*Serial) ProtoMessage()

    func (*Serial) Reset

    func (m *Serial) Reset()

    func (*Serial) String

    func (m *Serial) String() string

    type SignedCertificateTimestamp

    type SignedCertificateTimestamp struct {
    	Id                *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
    	SctVersion        *int64  `protobuf:"varint,2,opt,name=sctVersion" json:"sctVersion,omitempty"`
    	LogID             *string `protobuf:"bytes,3,opt,name=logID" json:"logID,omitempty"`
    	Timestamp         *int64  `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"`
    	Extensions        []byte  `protobuf:"bytes,5,opt,name=extensions" json:"extensions,omitempty"`
    	Signature         []byte  `protobuf:"bytes,6,opt,name=signature" json:"signature,omitempty"`
    	CertificateSerial *string `protobuf:"bytes,7,opt,name=certificateSerial" json:"certificateSerial,omitempty"`
    	XXX_unrecognized  []byte  `json:"-"`
    }

    func (*SignedCertificateTimestamp) Descriptor

    func (*SignedCertificateTimestamp) Descriptor() ([]byte, []int)

    func (*SignedCertificateTimestamp) GetCertificateSerial

    func (m *SignedCertificateTimestamp) GetCertificateSerial() string

    func (*SignedCertificateTimestamp) GetExtensions

    func (m *SignedCertificateTimestamp) GetExtensions() []byte

    func (*SignedCertificateTimestamp) GetId

    func (m *SignedCertificateTimestamp) GetId() int64

    func (*SignedCertificateTimestamp) GetLogID

    func (m *SignedCertificateTimestamp) GetLogID() string

    func (*SignedCertificateTimestamp) GetSctVersion

    func (m *SignedCertificateTimestamp) GetSctVersion() int64

    func (*SignedCertificateTimestamp) GetSignature

    func (m *SignedCertificateTimestamp) GetSignature() []byte

    func (*SignedCertificateTimestamp) GetTimestamp

    func (m *SignedCertificateTimestamp) GetTimestamp() int64

    func (*SignedCertificateTimestamp) ProtoMessage

    func (*SignedCertificateTimestamp) ProtoMessage()

    func (*SignedCertificateTimestamp) Reset

    func (m *SignedCertificateTimestamp) Reset()

    func (*SignedCertificateTimestamp) String

    func (m *SignedCertificateTimestamp) String() string

    type StorageAuthorityClient

    type StorageAuthorityClient interface {
    	// Getters
    	GetRegistration(ctx context.Context, in *RegistrationID, opts ...grpc.CallOption) (*core.Registration, error)
    	GetRegistrationByKey(ctx context.Context, in *JsonWebKey, opts ...grpc.CallOption) (*core.Registration, error)
    	GetAuthorization(ctx context.Context, in *AuthorizationID, opts ...grpc.CallOption) (*core.Authorization, error)
    	GetValidAuthorizations(ctx context.Context, in *GetValidAuthorizationsRequest, opts ...grpc.CallOption) (*ValidAuthorizations, error)
    	GetCertificate(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*core.Certificate, error)
    	GetCertificateStatus(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*CertificateStatus, error)
    	CountCertificatesRange(ctx context.Context, in *Range, opts ...grpc.CallOption) (*Count, error)
    	CountCertificatesByNames(ctx context.Context, in *CountCertificatesByNamesRequest, opts ...grpc.CallOption) (*CountByNames, error)
    	CountRegistrationsByIP(ctx context.Context, in *CountRegistrationsByIPRequest, opts ...grpc.CallOption) (*Count, error)
    	CountPendingAuthorizations(ctx context.Context, in *RegistrationID, opts ...grpc.CallOption) (*Count, error)
    	// Return a count of authorizations with status "invalid" that belong to
    	// a given registration ID and expire in the given time range.
    	CountInvalidAuthorizations(ctx context.Context, in *CountInvalidAuthorizationsRequest, opts ...grpc.CallOption) (*Count, error)
    	GetSCTReceipt(ctx context.Context, in *GetSCTReceiptRequest, opts ...grpc.CallOption) (*SignedCertificateTimestamp, error)
    	CountFQDNSets(ctx context.Context, in *CountFQDNSetsRequest, opts ...grpc.CallOption) (*Count, error)
    	FQDNSetExists(ctx context.Context, in *FQDNSetExistsRequest, opts ...grpc.CallOption) (*Exists, error)
    	// Adders
    	NewRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Registration, error)
    	UpdateRegistration(ctx context.Context, in *core.Registration, opts ...grpc.CallOption) (*core.Empty, error)
    	NewPendingAuthorization(ctx context.Context, in *core.Authorization, opts ...grpc.CallOption) (*core.Authorization, error)
    	UpdatePendingAuthorization(ctx context.Context, in *core.Authorization, opts ...grpc.CallOption) (*core.Empty, error)
    	FinalizeAuthorization(ctx context.Context, in *core.Authorization, opts ...grpc.CallOption) (*core.Empty, error)
    	MarkCertificateRevoked(ctx context.Context, in *MarkCertificateRevokedRequest, opts ...grpc.CallOption) (*core.Empty, error)
    	AddCertificate(ctx context.Context, in *AddCertificateRequest, opts ...grpc.CallOption) (*AddCertificateResponse, error)
    	AddSCTReceipt(ctx context.Context, in *SignedCertificateTimestamp, opts ...grpc.CallOption) (*core.Empty, error)
    	RevokeAuthorizationsByDomain(ctx context.Context, in *RevokeAuthorizationsByDomainRequest, opts ...grpc.CallOption) (*RevokeAuthorizationsByDomainResponse, error)
    	DeactivateRegistration(ctx context.Context, in *RegistrationID, opts ...grpc.CallOption) (*core.Empty, error)
    	DeactivateAuthorization(ctx context.Context, in *AuthorizationID, opts ...grpc.CallOption) (*core.Empty, error)
    }

    func NewStorageAuthorityClient

    func NewStorageAuthorityClient(cc *grpc.ClientConn) StorageAuthorityClient

    type StorageAuthorityServer

    type StorageAuthorityServer interface {
    	// Getters
    	GetRegistration(context.Context, *RegistrationID) (*core.Registration, error)
    	GetRegistrationByKey(context.Context, *JsonWebKey) (*core.Registration, error)
    	GetAuthorization(context.Context, *AuthorizationID) (*core.Authorization, error)
    	GetValidAuthorizations(context.Context, *GetValidAuthorizationsRequest) (*ValidAuthorizations, error)
    	GetCertificate(context.Context, *Serial) (*core.Certificate, error)
    	GetCertificateStatus(context.Context, *Serial) (*CertificateStatus, error)
    	CountCertificatesRange(context.Context, *Range) (*Count, error)
    	CountCertificatesByNames(context.Context, *CountCertificatesByNamesRequest) (*CountByNames, error)
    	CountRegistrationsByIP(context.Context, *CountRegistrationsByIPRequest) (*Count, error)
    	CountPendingAuthorizations(context.Context, *RegistrationID) (*Count, error)
    	// Return a count of authorizations with status "invalid" that belong to
    	// a given registration ID and expire in the given time range.
    	CountInvalidAuthorizations(context.Context, *CountInvalidAuthorizationsRequest) (*Count, error)
    	GetSCTReceipt(context.Context, *GetSCTReceiptRequest) (*SignedCertificateTimestamp, error)
    	CountFQDNSets(context.Context, *CountFQDNSetsRequest) (*Count, error)
    	FQDNSetExists(context.Context, *FQDNSetExistsRequest) (*Exists, error)
    	// Adders
    	NewRegistration(context.Context, *core.Registration) (*core.Registration, error)
    	UpdateRegistration(context.Context, *core.Registration) (*core.Empty, error)
    	NewPendingAuthorization(context.Context, *core.Authorization) (*core.Authorization, error)
    	UpdatePendingAuthorization(context.Context, *core.Authorization) (*core.Empty, error)
    	FinalizeAuthorization(context.Context, *core.Authorization) (*core.Empty, error)
    	MarkCertificateRevoked(context.Context, *MarkCertificateRevokedRequest) (*core.Empty, error)
    	AddCertificate(context.Context, *AddCertificateRequest) (*AddCertificateResponse, error)
    	AddSCTReceipt(context.Context, *SignedCertificateTimestamp) (*core.Empty, error)
    	RevokeAuthorizationsByDomain(context.Context, *RevokeAuthorizationsByDomainRequest) (*RevokeAuthorizationsByDomainResponse, error)
    	DeactivateRegistration(context.Context, *RegistrationID) (*core.Empty, error)
    	DeactivateAuthorization(context.Context, *AuthorizationID) (*core.Empty, error)
    }

    type ValidAuthorizations

    type ValidAuthorizations struct {
    	Valid            []*ValidAuthorizations_MapElement `protobuf:"bytes,1,rep,name=valid" json:"valid,omitempty"`
    	XXX_unrecognized []byte                            `json:"-"`
    }

    func (*ValidAuthorizations) Descriptor

    func (*ValidAuthorizations) Descriptor() ([]byte, []int)

    func (*ValidAuthorizations) GetValid

    func (*ValidAuthorizations) ProtoMessage

    func (*ValidAuthorizations) ProtoMessage()

    func (*ValidAuthorizations) Reset

    func (m *ValidAuthorizations) Reset()

    func (*ValidAuthorizations) String

    func (m *ValidAuthorizations) String() string

    type ValidAuthorizations_MapElement

    type ValidAuthorizations_MapElement struct {
    	Domain           *string             `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
    	Authz            *core.Authorization `protobuf:"bytes,2,opt,name=authz" json:"authz,omitempty"`
    	XXX_unrecognized []byte              `json:"-"`
    }

    func (*ValidAuthorizations_MapElement) Descriptor

    func (*ValidAuthorizations_MapElement) Descriptor() ([]byte, []int)

    func (*ValidAuthorizations_MapElement) GetAuthz

    func (*ValidAuthorizations_MapElement) GetDomain

    func (m *ValidAuthorizations_MapElement) GetDomain() string

    func (*ValidAuthorizations_MapElement) ProtoMessage

    func (*ValidAuthorizations_MapElement) ProtoMessage()

    func (*ValidAuthorizations_MapElement) Reset

    func (m *ValidAuthorizations_MapElement) Reset()

    func (*ValidAuthorizations_MapElement) String