Documentation ¶
Overview ¶
Package keytransparency_go_proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package keytransparency_go_proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package keytransparency_go_proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterKeyTransparencyAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKeyTransparencyAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyTransparencyAdminClient) error
- func RegisterKeyTransparencyAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKeyTransparencyAdminServer(s *grpc.Server, srv KeyTransparencyAdminServer)
- func RegisterKeyTransparencyFrontendHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKeyTransparencyFrontendHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterKeyTransparencyFrontendHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKeyTransparencyFrontendServer(s *grpc.Server, srv KeyTransparencyFrontendServer)
- func RegisterKeyTransparencyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKeyTransparencyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyTransparencyClient) error
- func RegisterKeyTransparencyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKeyTransparencyServer(s *grpc.Server, srv KeyTransparencyServer)
- type BatchGetUserIndexRequest
- func (*BatchGetUserIndexRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetUserIndexRequest) GetDirectoryId() string
- func (m *BatchGetUserIndexRequest) GetUserIds() []string
- func (*BatchGetUserIndexRequest) ProtoMessage()
- func (m *BatchGetUserIndexRequest) Reset()
- func (m *BatchGetUserIndexRequest) String() string
- func (m *BatchGetUserIndexRequest) XXX_DiscardUnknown()
- func (m *BatchGetUserIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetUserIndexRequest) XXX_Merge(src proto.Message)
- func (m *BatchGetUserIndexRequest) XXX_Size() int
- func (m *BatchGetUserIndexRequest) XXX_Unmarshal(b []byte) error
- type BatchGetUserIndexResponse
- func (*BatchGetUserIndexResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetUserIndexResponse) GetProofs() map[string][]byte
- func (*BatchGetUserIndexResponse) ProtoMessage()
- func (m *BatchGetUserIndexResponse) Reset()
- func (m *BatchGetUserIndexResponse) String() string
- func (m *BatchGetUserIndexResponse) XXX_DiscardUnknown()
- func (m *BatchGetUserIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetUserIndexResponse) XXX_Merge(src proto.Message)
- func (m *BatchGetUserIndexResponse) XXX_Size() int
- func (m *BatchGetUserIndexResponse) XXX_Unmarshal(b []byte) error
- type BatchGetUserRequest
- func (*BatchGetUserRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetUserRequest) GetDirectoryId() string
- func (m *BatchGetUserRequest) GetLastVerified() *LogRootRequest
- func (m *BatchGetUserRequest) GetUserIds() []string
- func (*BatchGetUserRequest) ProtoMessage()
- func (m *BatchGetUserRequest) Reset()
- func (m *BatchGetUserRequest) String() string
- func (m *BatchGetUserRequest) XXX_DiscardUnknown()
- func (m *BatchGetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetUserRequest) XXX_Merge(src proto.Message)
- func (m *BatchGetUserRequest) XXX_Size() int
- func (m *BatchGetUserRequest) XXX_Unmarshal(b []byte) error
- type BatchGetUserResponse
- func (*BatchGetUserResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetUserResponse) GetMapLeavesByUserId() map[string]*MapLeaf
- func (m *BatchGetUserResponse) GetRevision() *Revision
- func (*BatchGetUserResponse) ProtoMessage()
- func (m *BatchGetUserResponse) Reset()
- func (m *BatchGetUserResponse) String() string
- func (m *BatchGetUserResponse) XXX_DiscardUnknown()
- func (m *BatchGetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetUserResponse) XXX_Merge(src proto.Message)
- func (m *BatchGetUserResponse) XXX_Size() int
- func (m *BatchGetUserResponse) XXX_Unmarshal(b []byte) error
- type BatchListUserRevisionsRequest
- func (*BatchListUserRevisionsRequest) Descriptor() ([]byte, []int)
- func (m *BatchListUserRevisionsRequest) GetDirectoryId() string
- func (m *BatchListUserRevisionsRequest) GetEndRevision() int64
- func (m *BatchListUserRevisionsRequest) GetLastVerified() *LogRootRequest
- func (m *BatchListUserRevisionsRequest) GetPageSize() int32
- func (m *BatchListUserRevisionsRequest) GetPageToken() string
- func (m *BatchListUserRevisionsRequest) GetStartRevision() int64
- func (m *BatchListUserRevisionsRequest) GetUserIds() []string
- func (*BatchListUserRevisionsRequest) ProtoMessage()
- func (m *BatchListUserRevisionsRequest) Reset()
- func (m *BatchListUserRevisionsRequest) String() string
- func (m *BatchListUserRevisionsRequest) XXX_DiscardUnknown()
- func (m *BatchListUserRevisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchListUserRevisionsRequest) XXX_Merge(src proto.Message)
- func (m *BatchListUserRevisionsRequest) XXX_Size() int
- func (m *BatchListUserRevisionsRequest) XXX_Unmarshal(b []byte) error
- type BatchListUserRevisionsResponse
- func (*BatchListUserRevisionsResponse) Descriptor() ([]byte, []int)
- func (m *BatchListUserRevisionsResponse) GetLatestLogRoot() *LogRoot
- func (m *BatchListUserRevisionsResponse) GetMapRevisions() []*BatchMapRevision
- func (*BatchListUserRevisionsResponse) ProtoMessage()
- func (m *BatchListUserRevisionsResponse) Reset()
- func (m *BatchListUserRevisionsResponse) String() string
- func (m *BatchListUserRevisionsResponse) XXX_DiscardUnknown()
- func (m *BatchListUserRevisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchListUserRevisionsResponse) XXX_Merge(src proto.Message)
- func (m *BatchListUserRevisionsResponse) XXX_Size() int
- func (m *BatchListUserRevisionsResponse) XXX_Unmarshal(b []byte) error
- type BatchMapRevision
- func (*BatchMapRevision) Descriptor() ([]byte, []int)
- func (m *BatchMapRevision) GetMapLeavesByUserId() map[string]*MapLeaf
- func (m *BatchMapRevision) GetMapRoot() *MapRoot
- func (*BatchMapRevision) ProtoMessage()
- func (m *BatchMapRevision) Reset()
- func (m *BatchMapRevision) String() string
- func (m *BatchMapRevision) XXX_DiscardUnknown()
- func (m *BatchMapRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchMapRevision) XXX_Merge(src proto.Message)
- func (m *BatchMapRevision) XXX_Size() int
- func (m *BatchMapRevision) XXX_Unmarshal(b []byte) error
- type BatchQueueUserUpdateRequest
- func (*BatchQueueUserUpdateRequest) Descriptor() ([]byte, []int)
- func (m *BatchQueueUserUpdateRequest) GetDirectoryId() string
- func (m *BatchQueueUserUpdateRequest) GetUpdates() []*EntryUpdate
- func (*BatchQueueUserUpdateRequest) ProtoMessage()
- func (m *BatchQueueUserUpdateRequest) Reset()
- func (m *BatchQueueUserUpdateRequest) String() string
- func (m *BatchQueueUserUpdateRequest) XXX_DiscardUnknown()
- func (m *BatchQueueUserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchQueueUserUpdateRequest) XXX_Merge(src proto.Message)
- func (m *BatchQueueUserUpdateRequest) XXX_Size() int
- func (m *BatchQueueUserUpdateRequest) XXX_Unmarshal(b []byte) error
- type Committed
- func (*Committed) Descriptor() ([]byte, []int)
- func (m *Committed) GetData() []byte
- func (m *Committed) GetKey() []byte
- func (*Committed) ProtoMessage()
- func (m *Committed) Reset()
- func (m *Committed) String() string
- func (m *Committed) XXX_DiscardUnknown()
- func (m *Committed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Committed) XXX_Merge(src proto.Message)
- func (m *Committed) XXX_Size() int
- func (m *Committed) XXX_Unmarshal(b []byte) error
- type CreateDirectoryRequest
- func (*CreateDirectoryRequest) Descriptor() ([]byte, []int)
- func (m *CreateDirectoryRequest) GetDirectoryId() string
- func (m *CreateDirectoryRequest) GetLogPrivateKey() *any.Any
- func (m *CreateDirectoryRequest) GetMapPrivateKey() *any.Any
- func (m *CreateDirectoryRequest) GetMaxInterval() *duration.Duration
- func (m *CreateDirectoryRequest) GetMinInterval() *duration.Duration
- func (m *CreateDirectoryRequest) GetVrfPrivateKey() *any.Any
- func (*CreateDirectoryRequest) ProtoMessage()
- func (m *CreateDirectoryRequest) Reset()
- func (m *CreateDirectoryRequest) String() string
- func (m *CreateDirectoryRequest) XXX_DiscardUnknown()
- func (m *CreateDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDirectoryRequest) XXX_Merge(src proto.Message)
- func (m *CreateDirectoryRequest) XXX_Size() int
- func (m *CreateDirectoryRequest) XXX_Unmarshal(b []byte) error
- type DeleteDirectoryRequest
- func (*DeleteDirectoryRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDirectoryRequest) GetDirectoryId() string
- func (*DeleteDirectoryRequest) ProtoMessage()
- func (m *DeleteDirectoryRequest) Reset()
- func (m *DeleteDirectoryRequest) String() string
- func (m *DeleteDirectoryRequest) XXX_DiscardUnknown()
- func (m *DeleteDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDirectoryRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDirectoryRequest) XXX_Size() int
- func (m *DeleteDirectoryRequest) XXX_Unmarshal(b []byte) error
- type Directory
- func (*Directory) Descriptor() ([]byte, []int)
- func (m *Directory) GetDeleted() bool
- func (m *Directory) GetDirectoryId() string
- func (m *Directory) GetLog() *trillian.Tree
- func (m *Directory) GetMap() *trillian.Tree
- func (m *Directory) GetMaxInterval() *duration.Duration
- func (m *Directory) GetMinInterval() *duration.Duration
- func (m *Directory) GetVrf() *keyspb.PublicKey
- func (*Directory) ProtoMessage()
- func (m *Directory) Reset()
- func (m *Directory) String() string
- func (m *Directory) XXX_DiscardUnknown()
- func (m *Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Directory) XXX_Merge(src proto.Message)
- func (m *Directory) XXX_Size() int
- func (m *Directory) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetAuthorizedKeyset() []byte
- func (m *Entry) GetCommitment() []byte
- func (m *Entry) GetIndex() []byte
- func (m *Entry) GetPrevious() []byte
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type EntryUpdate
- func (*EntryUpdate) Descriptor() ([]byte, []int)
- func (m *EntryUpdate) GetCommitted() *Committed
- func (m *EntryUpdate) GetMutation() *SignedEntry
- func (m *EntryUpdate) GetUserId() string
- func (*EntryUpdate) ProtoMessage()
- func (m *EntryUpdate) Reset()
- func (m *EntryUpdate) String() string
- func (m *EntryUpdate) XXX_DiscardUnknown()
- func (m *EntryUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntryUpdate) XXX_Merge(src proto.Message)
- func (m *EntryUpdate) XXX_Size() int
- func (m *EntryUpdate) XXX_Unmarshal(b []byte) error
- type GarbageCollectRequest
- func (*GarbageCollectRequest) Descriptor() ([]byte, []int)
- func (m *GarbageCollectRequest) GetBefore() *timestamp.Timestamp
- func (*GarbageCollectRequest) ProtoMessage()
- func (m *GarbageCollectRequest) Reset()
- func (m *GarbageCollectRequest) String() string
- func (m *GarbageCollectRequest) XXX_DiscardUnknown()
- func (m *GarbageCollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GarbageCollectRequest) XXX_Merge(src proto.Message)
- func (m *GarbageCollectRequest) XXX_Size() int
- func (m *GarbageCollectRequest) XXX_Unmarshal(b []byte) error
- type GarbageCollectResponse
- func (*GarbageCollectResponse) Descriptor() ([]byte, []int)
- func (m *GarbageCollectResponse) GetDirectories() []*Directory
- func (*GarbageCollectResponse) ProtoMessage()
- func (m *GarbageCollectResponse) Reset()
- func (m *GarbageCollectResponse) String() string
- func (m *GarbageCollectResponse) XXX_DiscardUnknown()
- func (m *GarbageCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GarbageCollectResponse) XXX_Merge(src proto.Message)
- func (m *GarbageCollectResponse) XXX_Size() int
- func (m *GarbageCollectResponse) XXX_Unmarshal(b []byte) error
- type GetDirectoryRequest
- func (*GetDirectoryRequest) Descriptor() ([]byte, []int)
- func (m *GetDirectoryRequest) GetDirectoryId() string
- func (m *GetDirectoryRequest) GetShowDeleted() bool
- func (*GetDirectoryRequest) ProtoMessage()
- func (m *GetDirectoryRequest) Reset()
- func (m *GetDirectoryRequest) String() string
- func (m *GetDirectoryRequest) XXX_DiscardUnknown()
- func (m *GetDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDirectoryRequest) XXX_Merge(src proto.Message)
- func (m *GetDirectoryRequest) XXX_Size() int
- func (m *GetDirectoryRequest) XXX_Unmarshal(b []byte) error
- type GetLatestRevisionRequest
- func (*GetLatestRevisionRequest) Descriptor() ([]byte, []int)
- func (m *GetLatestRevisionRequest) GetDirectoryId() string
- func (m *GetLatestRevisionRequest) GetLastVerified() *LogRootRequest
- func (*GetLatestRevisionRequest) ProtoMessage()
- func (m *GetLatestRevisionRequest) Reset()
- func (m *GetLatestRevisionRequest) String() string
- func (m *GetLatestRevisionRequest) XXX_DiscardUnknown()
- func (m *GetLatestRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLatestRevisionRequest) XXX_Merge(src proto.Message)
- func (m *GetLatestRevisionRequest) XXX_Size() int
- func (m *GetLatestRevisionRequest) XXX_Unmarshal(b []byte) error
- type GetRevisionRequest
- func (*GetRevisionRequest) Descriptor() ([]byte, []int)
- func (m *GetRevisionRequest) GetDirectoryId() string
- func (m *GetRevisionRequest) GetLastVerified() *LogRootRequest
- func (m *GetRevisionRequest) GetRevision() int64
- func (*GetRevisionRequest) ProtoMessage()
- func (m *GetRevisionRequest) Reset()
- func (m *GetRevisionRequest) String() string
- func (m *GetRevisionRequest) XXX_DiscardUnknown()
- func (m *GetRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRevisionRequest) XXX_Merge(src proto.Message)
- func (m *GetRevisionRequest) XXX_Size() int
- func (m *GetRevisionRequest) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetDirectoryId() string
- func (m *GetUserRequest) GetLastVerified() *LogRootRequest
- func (m *GetUserRequest) GetUserId() string
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (m *GetUserResponse) GetLeaf() *MapLeaf
- func (m *GetUserResponse) GetRevision() *Revision
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) String() string
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type InputLog
- func (*InputLog) Descriptor() ([]byte, []int)
- func (m *InputLog) GetDirectoryId() string
- func (m *InputLog) GetLogId() int64
- func (m *InputLog) GetWritable() bool
- func (*InputLog) ProtoMessage()
- func (m *InputLog) Reset()
- func (m *InputLog) String() string
- func (m *InputLog) XXX_DiscardUnknown()
- func (m *InputLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InputLog) XXX_Merge(src proto.Message)
- func (m *InputLog) XXX_Size() int
- func (m *InputLog) XXX_Unmarshal(b []byte) error
- type KeyTransparencyAdminClient
- type KeyTransparencyAdminServer
- type KeyTransparencyClient
- type KeyTransparencyFrontendClient
- type KeyTransparencyFrontendServer
- type KeyTransparencyServer
- type KeyTransparency_GetRevisionStreamClient
- type KeyTransparency_GetRevisionStreamServer
- type KeyTransparency_ListMutationsStreamClient
- type KeyTransparency_ListMutationsStreamServer
- type ListDirectoriesRequest
- func (*ListDirectoriesRequest) Descriptor() ([]byte, []int)
- func (m *ListDirectoriesRequest) GetShowDeleted() bool
- func (*ListDirectoriesRequest) ProtoMessage()
- func (m *ListDirectoriesRequest) Reset()
- func (m *ListDirectoriesRequest) String() string
- func (m *ListDirectoriesRequest) XXX_DiscardUnknown()
- func (m *ListDirectoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDirectoriesRequest) XXX_Merge(src proto.Message)
- func (m *ListDirectoriesRequest) XXX_Size() int
- func (m *ListDirectoriesRequest) XXX_Unmarshal(b []byte) error
- type ListDirectoriesResponse
- func (*ListDirectoriesResponse) Descriptor() ([]byte, []int)
- func (m *ListDirectoriesResponse) GetDirectories() []*Directory
- func (*ListDirectoriesResponse) ProtoMessage()
- func (m *ListDirectoriesResponse) Reset()
- func (m *ListDirectoriesResponse) String() string
- func (m *ListDirectoriesResponse) XXX_DiscardUnknown()
- func (m *ListDirectoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDirectoriesResponse) XXX_Merge(src proto.Message)
- func (m *ListDirectoriesResponse) XXX_Size() int
- func (m *ListDirectoriesResponse) XXX_Unmarshal(b []byte) error
- type ListEntryHistoryRequest
- func (*ListEntryHistoryRequest) Descriptor() ([]byte, []int)
- func (m *ListEntryHistoryRequest) GetDirectoryId() string
- func (m *ListEntryHistoryRequest) GetLastVerified() *LogRootRequest
- func (m *ListEntryHistoryRequest) GetPageSize() int32
- func (m *ListEntryHistoryRequest) GetStart() int64
- func (m *ListEntryHistoryRequest) GetUserId() string
- func (*ListEntryHistoryRequest) ProtoMessage()
- func (m *ListEntryHistoryRequest) Reset()
- func (m *ListEntryHistoryRequest) String() string
- func (m *ListEntryHistoryRequest) XXX_DiscardUnknown()
- func (m *ListEntryHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEntryHistoryRequest) XXX_Merge(src proto.Message)
- func (m *ListEntryHistoryRequest) XXX_Size() int
- func (m *ListEntryHistoryRequest) XXX_Unmarshal(b []byte) error
- type ListEntryHistoryResponse
- func (*ListEntryHistoryResponse) Descriptor() ([]byte, []int)
- func (m *ListEntryHistoryResponse) GetNextStart() int64
- func (m *ListEntryHistoryResponse) GetValues() []*GetUserResponse
- func (*ListEntryHistoryResponse) ProtoMessage()
- func (m *ListEntryHistoryResponse) Reset()
- func (m *ListEntryHistoryResponse) String() string
- func (m *ListEntryHistoryResponse) XXX_DiscardUnknown()
- func (m *ListEntryHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEntryHistoryResponse) XXX_Merge(src proto.Message)
- func (m *ListEntryHistoryResponse) XXX_Size() int
- func (m *ListEntryHistoryResponse) XXX_Unmarshal(b []byte) error
- type ListInputLogsRequest
- func (*ListInputLogsRequest) Descriptor() ([]byte, []int)
- func (m *ListInputLogsRequest) GetDirectoryId() string
- func (m *ListInputLogsRequest) GetFilterWritable() bool
- func (*ListInputLogsRequest) ProtoMessage()
- func (m *ListInputLogsRequest) Reset()
- func (m *ListInputLogsRequest) String() string
- func (m *ListInputLogsRequest) XXX_DiscardUnknown()
- func (m *ListInputLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListInputLogsRequest) XXX_Merge(src proto.Message)
- func (m *ListInputLogsRequest) XXX_Size() int
- func (m *ListInputLogsRequest) XXX_Unmarshal(b []byte) error
- type ListInputLogsResponse
- func (*ListInputLogsResponse) Descriptor() ([]byte, []int)
- func (m *ListInputLogsResponse) GetLogs() []*InputLog
- func (*ListInputLogsResponse) ProtoMessage()
- func (m *ListInputLogsResponse) Reset()
- func (m *ListInputLogsResponse) String() string
- func (m *ListInputLogsResponse) XXX_DiscardUnknown()
- func (m *ListInputLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListInputLogsResponse) XXX_Merge(src proto.Message)
- func (m *ListInputLogsResponse) XXX_Size() int
- func (m *ListInputLogsResponse) XXX_Unmarshal(b []byte) error
- type ListMutationsRequest
- func (*ListMutationsRequest) Descriptor() ([]byte, []int)
- func (m *ListMutationsRequest) GetDirectoryId() string
- func (m *ListMutationsRequest) GetPageSize() int32
- func (m *ListMutationsRequest) GetPageToken() string
- func (m *ListMutationsRequest) GetRevision() int64
- func (*ListMutationsRequest) ProtoMessage()
- func (m *ListMutationsRequest) Reset()
- func (m *ListMutationsRequest) String() string
- func (m *ListMutationsRequest) XXX_DiscardUnknown()
- func (m *ListMutationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMutationsRequest) XXX_Merge(src proto.Message)
- func (m *ListMutationsRequest) XXX_Size() int
- func (m *ListMutationsRequest) XXX_Unmarshal(b []byte) error
- type ListMutationsResponse
- func (*ListMutationsResponse) Descriptor() ([]byte, []int)
- func (m *ListMutationsResponse) GetMutations() []*MutationProof
- func (m *ListMutationsResponse) GetNextPageToken() string
- func (*ListMutationsResponse) ProtoMessage()
- func (m *ListMutationsResponse) Reset()
- func (m *ListMutationsResponse) String() string
- func (m *ListMutationsResponse) XXX_DiscardUnknown()
- func (m *ListMutationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMutationsResponse) XXX_Merge(src proto.Message)
- func (m *ListMutationsResponse) XXX_Size() int
- func (m *ListMutationsResponse) XXX_Unmarshal(b []byte) error
- type ListUserRevisionsRequest
- func (*ListUserRevisionsRequest) Descriptor() ([]byte, []int)
- func (m *ListUserRevisionsRequest) GetDirectoryId() string
- func (m *ListUserRevisionsRequest) GetEndRevision() int64
- func (m *ListUserRevisionsRequest) GetLastVerified() *LogRootRequest
- func (m *ListUserRevisionsRequest) GetPageSize() int32
- func (m *ListUserRevisionsRequest) GetPageToken() string
- func (m *ListUserRevisionsRequest) GetStartRevision() int64
- func (m *ListUserRevisionsRequest) GetUserId() string
- func (*ListUserRevisionsRequest) ProtoMessage()
- func (m *ListUserRevisionsRequest) Reset()
- func (m *ListUserRevisionsRequest) String() string
- func (m *ListUserRevisionsRequest) XXX_DiscardUnknown()
- func (m *ListUserRevisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserRevisionsRequest) XXX_Merge(src proto.Message)
- func (m *ListUserRevisionsRequest) XXX_Size() int
- func (m *ListUserRevisionsRequest) XXX_Unmarshal(b []byte) error
- type ListUserRevisionsResponse
- func (*ListUserRevisionsResponse) Descriptor() ([]byte, []int)
- func (m *ListUserRevisionsResponse) GetLatestLogRoot() *LogRoot
- func (m *ListUserRevisionsResponse) GetMapRevisions() []*MapRevision
- func (m *ListUserRevisionsResponse) GetNextPageToken() string
- func (*ListUserRevisionsResponse) ProtoMessage()
- func (m *ListUserRevisionsResponse) Reset()
- func (m *ListUserRevisionsResponse) String() string
- func (m *ListUserRevisionsResponse) XXX_DiscardUnknown()
- func (m *ListUserRevisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserRevisionsResponse) XXX_Merge(src proto.Message)
- func (m *ListUserRevisionsResponse) XXX_Size() int
- func (m *ListUserRevisionsResponse) XXX_Unmarshal(b []byte) error
- type LogRoot
- func (*LogRoot) Descriptor() ([]byte, []int)
- func (m *LogRoot) GetLogConsistency() [][]byte
- func (m *LogRoot) GetLogRoot() *trillian.SignedLogRoot
- func (*LogRoot) ProtoMessage()
- func (m *LogRoot) Reset()
- func (m *LogRoot) String() string
- func (m *LogRoot) XXX_DiscardUnknown()
- func (m *LogRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogRoot) XXX_Merge(src proto.Message)
- func (m *LogRoot) XXX_Size() int
- func (m *LogRoot) XXX_Unmarshal(b []byte) error
- type LogRootRequest
- func (*LogRootRequest) Descriptor() ([]byte, []int)
- func (m *LogRootRequest) GetRootHash() []byte
- func (m *LogRootRequest) GetTreeSize() int64
- func (*LogRootRequest) ProtoMessage()
- func (m *LogRootRequest) Reset()
- func (m *LogRootRequest) String() string
- func (m *LogRootRequest) XXX_DiscardUnknown()
- func (m *LogRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogRootRequest) XXX_Merge(src proto.Message)
- func (m *LogRootRequest) XXX_Size() int
- func (m *LogRootRequest) XXX_Unmarshal(b []byte) error
- type MapLeaf
- func (*MapLeaf) Descriptor() ([]byte, []int)
- func (m *MapLeaf) GetCommitted() *Committed
- func (m *MapLeaf) GetMapInclusion() *trillian.MapLeafInclusion
- func (m *MapLeaf) GetVrfProof() []byte
- func (*MapLeaf) ProtoMessage()
- func (m *MapLeaf) Reset()
- func (m *MapLeaf) String() string
- func (m *MapLeaf) XXX_DiscardUnknown()
- func (m *MapLeaf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapLeaf) XXX_Merge(src proto.Message)
- func (m *MapLeaf) XXX_Size() int
- func (m *MapLeaf) XXX_Unmarshal(b []byte) error
- type MapRevision
- func (*MapRevision) Descriptor() ([]byte, []int)
- func (m *MapRevision) GetMapLeaf() *MapLeaf
- func (m *MapRevision) GetMapRoot() *MapRoot
- func (*MapRevision) ProtoMessage()
- func (m *MapRevision) Reset()
- func (m *MapRevision) String() string
- func (m *MapRevision) XXX_DiscardUnknown()
- func (m *MapRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapRevision) XXX_Merge(src proto.Message)
- func (m *MapRevision) XXX_Size() int
- func (m *MapRevision) XXX_Unmarshal(b []byte) error
- type MapRoot
- func (*MapRoot) Descriptor() ([]byte, []int)
- func (m *MapRoot) GetLogInclusion() [][]byte
- func (m *MapRoot) GetMapRoot() *trillian.SignedMapRoot
- func (*MapRoot) ProtoMessage()
- func (m *MapRoot) Reset()
- func (m *MapRoot) String() string
- func (m *MapRoot) XXX_DiscardUnknown()
- func (m *MapRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapRoot) XXX_Merge(src proto.Message)
- func (m *MapRoot) XXX_Size() int
- func (m *MapRoot) XXX_Unmarshal(b []byte) error
- type MapperMetadata
- func (*MapperMetadata) Descriptor() ([]byte, []int)
- func (m *MapperMetadata) GetHighestFullyCompletedSeq() int64
- func (*MapperMetadata) ProtoMessage()
- func (m *MapperMetadata) Reset()
- func (m *MapperMetadata) String() string
- func (m *MapperMetadata) XXX_DiscardUnknown()
- func (m *MapperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapperMetadata) XXX_Merge(src proto.Message)
- func (m *MapperMetadata) XXX_Size() int
- func (m *MapperMetadata) XXX_Unmarshal(b []byte) error
- type MutationProof
- func (*MutationProof) Descriptor() ([]byte, []int)
- func (m *MutationProof) GetLeafProof() *trillian.MapLeafInclusion
- func (m *MutationProof) GetMutation() *SignedEntry
- func (*MutationProof) ProtoMessage()
- func (m *MutationProof) Reset()
- func (m *MutationProof) String() string
- func (m *MutationProof) XXX_DiscardUnknown()
- func (m *MutationProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MutationProof) XXX_Merge(src proto.Message)
- func (m *MutationProof) XXX_Size() int
- func (m *MutationProof) XXX_Unmarshal(b []byte) error
- type QueueKeyUpdateRequest
- func (*QueueKeyUpdateRequest) Descriptor() ([]byte, []int)
- func (m *QueueKeyUpdateRequest) GetDirectoryId() string
- func (m *QueueKeyUpdateRequest) GetKeyData() []byte
- func (m *QueueKeyUpdateRequest) GetUserId() string
- func (*QueueKeyUpdateRequest) ProtoMessage()
- func (m *QueueKeyUpdateRequest) Reset()
- func (m *QueueKeyUpdateRequest) String() string
- func (m *QueueKeyUpdateRequest) XXX_DiscardUnknown()
- func (m *QueueKeyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueueKeyUpdateRequest) XXX_Merge(src proto.Message)
- func (m *QueueKeyUpdateRequest) XXX_Size() int
- func (m *QueueKeyUpdateRequest) XXX_Unmarshal(b []byte) error
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)
- func (m *Revision) GetDirectoryId() string
- func (m *Revision) GetLatestLogRoot() *LogRoot
- func (m *Revision) GetMapRoot() *MapRoot
- func (*Revision) ProtoMessage()
- func (m *Revision) Reset()
- func (m *Revision) String() string
- func (m *Revision) XXX_DiscardUnknown()
- func (m *Revision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Revision) XXX_Merge(src proto.Message)
- func (m *Revision) XXX_Size() int
- func (m *Revision) XXX_Unmarshal(b []byte) error
- type SignedEntry
- func (*SignedEntry) Descriptor() ([]byte, []int)
- func (m *SignedEntry) GetEntry() []byte
- func (m *SignedEntry) GetSignatures() [][]byte
- func (*SignedEntry) ProtoMessage()
- func (m *SignedEntry) Reset()
- func (m *SignedEntry) String() string
- func (m *SignedEntry) XXX_DiscardUnknown()
- func (m *SignedEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedEntry) XXX_Merge(src proto.Message)
- func (m *SignedEntry) XXX_Size() int
- func (m *SignedEntry) XXX_Unmarshal(b []byte) error
- type UndeleteDirectoryRequest
- func (*UndeleteDirectoryRequest) Descriptor() ([]byte, []int)
- func (m *UndeleteDirectoryRequest) GetDirectoryId() string
- func (*UndeleteDirectoryRequest) ProtoMessage()
- func (m *UndeleteDirectoryRequest) Reset()
- func (m *UndeleteDirectoryRequest) String() string
- func (m *UndeleteDirectoryRequest) XXX_DiscardUnknown()
- func (m *UndeleteDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndeleteDirectoryRequest) XXX_Merge(src proto.Message)
- func (m *UndeleteDirectoryRequest) XXX_Size() int
- func (m *UndeleteDirectoryRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedKeyTransparencyAdminServer
- func (*UnimplementedKeyTransparencyAdminServer) CreateDirectory(ctx context.Context, req *CreateDirectoryRequest) (*Directory, error)
- func (*UnimplementedKeyTransparencyAdminServer) CreateInputLog(ctx context.Context, req *InputLog) (*InputLog, error)
- func (*UnimplementedKeyTransparencyAdminServer) DeleteDirectory(ctx context.Context, req *DeleteDirectoryRequest) (*empty.Empty, error)
- func (*UnimplementedKeyTransparencyAdminServer) GarbageCollect(ctx context.Context, req *GarbageCollectRequest) (*GarbageCollectResponse, error)
- func (*UnimplementedKeyTransparencyAdminServer) GetDirectory(ctx context.Context, req *GetDirectoryRequest) (*Directory, error)
- func (*UnimplementedKeyTransparencyAdminServer) ListDirectories(ctx context.Context, req *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
- func (*UnimplementedKeyTransparencyAdminServer) ListInputLogs(ctx context.Context, req *ListInputLogsRequest) (*ListInputLogsResponse, error)
- func (*UnimplementedKeyTransparencyAdminServer) UndeleteDirectory(ctx context.Context, req *UndeleteDirectoryRequest) (*empty.Empty, error)
- func (*UnimplementedKeyTransparencyAdminServer) UpdateInputLog(ctx context.Context, req *InputLog) (*InputLog, error)
- type UnimplementedKeyTransparencyFrontendServer
- type UnimplementedKeyTransparencyServer
- func (*UnimplementedKeyTransparencyServer) BatchGetUser(ctx context.Context, req *BatchGetUserRequest) (*BatchGetUserResponse, error)
- func (*UnimplementedKeyTransparencyServer) BatchGetUserIndex(ctx context.Context, req *BatchGetUserIndexRequest) (*BatchGetUserIndexResponse, error)
- func (*UnimplementedKeyTransparencyServer) BatchListUserRevisions(ctx context.Context, req *BatchListUserRevisionsRequest) (*BatchListUserRevisionsResponse, error)
- func (*UnimplementedKeyTransparencyServer) BatchQueueUserUpdate(ctx context.Context, req *BatchQueueUserUpdateRequest) (*empty.Empty, error)
- func (*UnimplementedKeyTransparencyServer) GetDirectory(ctx context.Context, req *GetDirectoryRequest) (*Directory, error)
- func (*UnimplementedKeyTransparencyServer) GetLatestRevision(ctx context.Context, req *GetLatestRevisionRequest) (*Revision, error)
- func (*UnimplementedKeyTransparencyServer) GetRevision(ctx context.Context, req *GetRevisionRequest) (*Revision, error)
- func (*UnimplementedKeyTransparencyServer) GetRevisionStream(req *GetRevisionRequest, srv KeyTransparency_GetRevisionStreamServer) error
- func (*UnimplementedKeyTransparencyServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedKeyTransparencyServer) ListEntryHistory(ctx context.Context, req *ListEntryHistoryRequest) (*ListEntryHistoryResponse, error)
- func (*UnimplementedKeyTransparencyServer) ListMutations(ctx context.Context, req *ListMutationsRequest) (*ListMutationsResponse, error)
- func (*UnimplementedKeyTransparencyServer) ListMutationsStream(req *ListMutationsRequest, srv KeyTransparency_ListMutationsStreamServer) error
- func (*UnimplementedKeyTransparencyServer) ListUserRevisions(ctx context.Context, req *ListUserRevisionsRequest) (*ListUserRevisionsResponse, error)
- func (*UnimplementedKeyTransparencyServer) QueueEntryUpdate(ctx context.Context, req *UpdateEntryRequest) (*empty.Empty, error)
- type UpdateEntryRequest
- func (*UpdateEntryRequest) Descriptor() ([]byte, []int)
- func (m *UpdateEntryRequest) GetDirectoryId() string
- func (m *UpdateEntryRequest) GetEntryUpdate() *EntryUpdate
- func (*UpdateEntryRequest) ProtoMessage()
- func (m *UpdateEntryRequest) Reset()
- func (m *UpdateEntryRequest) String() string
- func (m *UpdateEntryRequest) XXX_DiscardUnknown()
- func (m *UpdateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateEntryRequest) XXX_Merge(src proto.Message)
- func (m *UpdateEntryRequest) XXX_Size() int
- func (m *UpdateEntryRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterKeyTransparencyAdminHandler ¶
func RegisterKeyTransparencyAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKeyTransparencyAdminHandler registers the http handlers for service KeyTransparencyAdmin to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKeyTransparencyAdminHandlerClient ¶
func RegisterKeyTransparencyAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyTransparencyAdminClient) error
RegisterKeyTransparencyAdminHandlerClient registers the http handlers for service KeyTransparencyAdmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeyTransparencyAdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeyTransparencyAdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeyTransparencyAdminClient" to call the correct interceptors.
func RegisterKeyTransparencyAdminHandlerFromEndpoint ¶
func RegisterKeyTransparencyAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKeyTransparencyAdminHandlerFromEndpoint is same as RegisterKeyTransparencyAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKeyTransparencyAdminServer ¶
func RegisterKeyTransparencyAdminServer(s *grpc.Server, srv KeyTransparencyAdminServer)
func RegisterKeyTransparencyFrontendHandler ¶
func RegisterKeyTransparencyFrontendHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKeyTransparencyFrontendHandler registers the http handlers for service KeyTransparencyFrontend to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKeyTransparencyFrontendHandlerClient ¶
func RegisterKeyTransparencyFrontendHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyTransparencyFrontendClient) error
RegisterKeyTransparencyFrontendHandlerClient registers the http handlers for service KeyTransparencyFrontend to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeyTransparencyFrontendClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeyTransparencyFrontendClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeyTransparencyFrontendClient" to call the correct interceptors.
func RegisterKeyTransparencyFrontendHandlerFromEndpoint ¶
func RegisterKeyTransparencyFrontendHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKeyTransparencyFrontendHandlerFromEndpoint is same as RegisterKeyTransparencyFrontendHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKeyTransparencyFrontendServer ¶
func RegisterKeyTransparencyFrontendServer(s *grpc.Server, srv KeyTransparencyFrontendServer)
func RegisterKeyTransparencyHandler ¶
func RegisterKeyTransparencyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKeyTransparencyHandler registers the http handlers for service KeyTransparency to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKeyTransparencyHandlerClient ¶
func RegisterKeyTransparencyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyTransparencyClient) error
RegisterKeyTransparencyHandlerClient registers the http handlers for service KeyTransparency to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeyTransparencyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeyTransparencyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeyTransparencyClient" to call the correct interceptors.
func RegisterKeyTransparencyHandlerFromEndpoint ¶
func RegisterKeyTransparencyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKeyTransparencyHandlerFromEndpoint is same as RegisterKeyTransparencyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKeyTransparencyServer ¶
func RegisterKeyTransparencyServer(s *grpc.Server, srv KeyTransparencyServer)
Types ¶
type BatchGetUserIndexRequest ¶
type BatchGetUserIndexRequest struct { // directory_id identifies the directory in which the users live. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_ids are the user identifiers UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchGetUserIndexRequest identifies a set of users.
func (*BatchGetUserIndexRequest) Descriptor ¶
func (*BatchGetUserIndexRequest) Descriptor() ([]byte, []int)
func (*BatchGetUserIndexRequest) GetDirectoryId ¶
func (m *BatchGetUserIndexRequest) GetDirectoryId() string
func (*BatchGetUserIndexRequest) GetUserIds ¶
func (m *BatchGetUserIndexRequest) GetUserIds() []string
func (*BatchGetUserIndexRequest) ProtoMessage ¶
func (*BatchGetUserIndexRequest) ProtoMessage()
func (*BatchGetUserIndexRequest) Reset ¶
func (m *BatchGetUserIndexRequest) Reset()
func (*BatchGetUserIndexRequest) String ¶
func (m *BatchGetUserIndexRequest) String() string
func (*BatchGetUserIndexRequest) XXX_DiscardUnknown ¶
func (m *BatchGetUserIndexRequest) XXX_DiscardUnknown()
func (*BatchGetUserIndexRequest) XXX_Marshal ¶
func (m *BatchGetUserIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetUserIndexRequest) XXX_Merge ¶
func (m *BatchGetUserIndexRequest) XXX_Merge(src proto.Message)
func (*BatchGetUserIndexRequest) XXX_Size ¶
func (m *BatchGetUserIndexRequest) XXX_Size() int
func (*BatchGetUserIndexRequest) XXX_Unmarshal ¶
func (m *BatchGetUserIndexRequest) XXX_Unmarshal(b []byte) error
type BatchGetUserIndexResponse ¶
type BatchGetUserIndexResponse struct { // proofs is a map from user_id to its VRF proof. // Clients get the index by verifying the VRF proof. Proofs map[string][]byte `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchGetUserIndexRequest identifies a single user.
func (*BatchGetUserIndexResponse) Descriptor ¶
func (*BatchGetUserIndexResponse) Descriptor() ([]byte, []int)
func (*BatchGetUserIndexResponse) GetProofs ¶
func (m *BatchGetUserIndexResponse) GetProofs() map[string][]byte
func (*BatchGetUserIndexResponse) ProtoMessage ¶
func (*BatchGetUserIndexResponse) ProtoMessage()
func (*BatchGetUserIndexResponse) Reset ¶
func (m *BatchGetUserIndexResponse) Reset()
func (*BatchGetUserIndexResponse) String ¶
func (m *BatchGetUserIndexResponse) String() string
func (*BatchGetUserIndexResponse) XXX_DiscardUnknown ¶
func (m *BatchGetUserIndexResponse) XXX_DiscardUnknown()
func (*BatchGetUserIndexResponse) XXX_Marshal ¶
func (m *BatchGetUserIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetUserIndexResponse) XXX_Merge ¶
func (m *BatchGetUserIndexResponse) XXX_Merge(src proto.Message)
func (*BatchGetUserIndexResponse) XXX_Size ¶
func (m *BatchGetUserIndexResponse) XXX_Size() int
func (*BatchGetUserIndexResponse) XXX_Unmarshal ¶
func (m *BatchGetUserIndexResponse) XXX_Unmarshal(b []byte) error
type BatchGetUserRequest ¶
type BatchGetUserRequest struct { // directory_id identifies the directory in which the users live. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_ids are the user identifiers, the format for which is defined by the // application. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,4,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchGetUserRequest contains multiple user_ids to fetch.
func (*BatchGetUserRequest) Descriptor ¶
func (*BatchGetUserRequest) Descriptor() ([]byte, []int)
func (*BatchGetUserRequest) GetDirectoryId ¶
func (m *BatchGetUserRequest) GetDirectoryId() string
func (*BatchGetUserRequest) GetLastVerified ¶
func (m *BatchGetUserRequest) GetLastVerified() *LogRootRequest
func (*BatchGetUserRequest) GetUserIds ¶
func (m *BatchGetUserRequest) GetUserIds() []string
func (*BatchGetUserRequest) ProtoMessage ¶
func (*BatchGetUserRequest) ProtoMessage()
func (*BatchGetUserRequest) Reset ¶
func (m *BatchGetUserRequest) Reset()
func (*BatchGetUserRequest) String ¶
func (m *BatchGetUserRequest) String() string
func (*BatchGetUserRequest) XXX_DiscardUnknown ¶
func (m *BatchGetUserRequest) XXX_DiscardUnknown()
func (*BatchGetUserRequest) XXX_Marshal ¶
func (m *BatchGetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetUserRequest) XXX_Merge ¶
func (m *BatchGetUserRequest) XXX_Merge(src proto.Message)
func (*BatchGetUserRequest) XXX_Size ¶
func (m *BatchGetUserRequest) XXX_Size() int
func (*BatchGetUserRequest) XXX_Unmarshal ¶
func (m *BatchGetUserRequest) XXX_Unmarshal(b []byte) error
type BatchGetUserResponse ¶
type BatchGetUserResponse struct { // revision is the most recently published revision. Revision *Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // map_leaves_by_user_id is a map from user_id to the map leaf at the most // recently published revision. MapLeavesByUserId map[string]*MapLeaf `` /* 206-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchGetUserResponse contains the leaf entries for a set of users at the most recently published revision.
func (*BatchGetUserResponse) Descriptor ¶
func (*BatchGetUserResponse) Descriptor() ([]byte, []int)
func (*BatchGetUserResponse) GetMapLeavesByUserId ¶
func (m *BatchGetUserResponse) GetMapLeavesByUserId() map[string]*MapLeaf
func (*BatchGetUserResponse) GetRevision ¶
func (m *BatchGetUserResponse) GetRevision() *Revision
func (*BatchGetUserResponse) ProtoMessage ¶
func (*BatchGetUserResponse) ProtoMessage()
func (*BatchGetUserResponse) Reset ¶
func (m *BatchGetUserResponse) Reset()
func (*BatchGetUserResponse) String ¶
func (m *BatchGetUserResponse) String() string
func (*BatchGetUserResponse) XXX_DiscardUnknown ¶
func (m *BatchGetUserResponse) XXX_DiscardUnknown()
func (*BatchGetUserResponse) XXX_Marshal ¶
func (m *BatchGetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetUserResponse) XXX_Merge ¶
func (m *BatchGetUserResponse) XXX_Merge(src proto.Message)
func (*BatchGetUserResponse) XXX_Size ¶
func (m *BatchGetUserResponse) XXX_Size() int
func (*BatchGetUserResponse) XXX_Unmarshal ¶
func (m *BatchGetUserResponse) XXX_Unmarshal(b []byte) error
type BatchListUserRevisionsRequest ¶
type BatchListUserRevisionsRequest struct { // directory_id identifies the directory in which the users live. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_ids are the user identifiers. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // start_revision is the starting revision. StartRevision int64 `protobuf:"varint,3,opt,name=start_revision,json=startRevision,proto3" json:"start_revision,omitempty"` // end_revision is the ending epoch. EndRevision int64 `protobuf:"varint,4,opt,name=end_revision,json=endRevision,proto3" json:"end_revision,omitempty"` // page_size is the maximum number of entries to return. If page_size is // unspecified, the server will decide how to paginate results. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page_token is a continuation token for paginating through results. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,8,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchListUserRevisionsRequest contains a list of users and a range of revisions.
func (*BatchListUserRevisionsRequest) Descriptor ¶
func (*BatchListUserRevisionsRequest) Descriptor() ([]byte, []int)
func (*BatchListUserRevisionsRequest) GetDirectoryId ¶
func (m *BatchListUserRevisionsRequest) GetDirectoryId() string
func (*BatchListUserRevisionsRequest) GetEndRevision ¶
func (m *BatchListUserRevisionsRequest) GetEndRevision() int64
func (*BatchListUserRevisionsRequest) GetLastVerified ¶
func (m *BatchListUserRevisionsRequest) GetLastVerified() *LogRootRequest
func (*BatchListUserRevisionsRequest) GetPageSize ¶
func (m *BatchListUserRevisionsRequest) GetPageSize() int32
func (*BatchListUserRevisionsRequest) GetPageToken ¶
func (m *BatchListUserRevisionsRequest) GetPageToken() string
func (*BatchListUserRevisionsRequest) GetStartRevision ¶
func (m *BatchListUserRevisionsRequest) GetStartRevision() int64
func (*BatchListUserRevisionsRequest) GetUserIds ¶
func (m *BatchListUserRevisionsRequest) GetUserIds() []string
func (*BatchListUserRevisionsRequest) ProtoMessage ¶
func (*BatchListUserRevisionsRequest) ProtoMessage()
func (*BatchListUserRevisionsRequest) Reset ¶
func (m *BatchListUserRevisionsRequest) Reset()
func (*BatchListUserRevisionsRequest) String ¶
func (m *BatchListUserRevisionsRequest) String() string
func (*BatchListUserRevisionsRequest) XXX_DiscardUnknown ¶
func (m *BatchListUserRevisionsRequest) XXX_DiscardUnknown()
func (*BatchListUserRevisionsRequest) XXX_Marshal ¶
func (m *BatchListUserRevisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchListUserRevisionsRequest) XXX_Merge ¶
func (m *BatchListUserRevisionsRequest) XXX_Merge(src proto.Message)
func (*BatchListUserRevisionsRequest) XXX_Size ¶
func (m *BatchListUserRevisionsRequest) XXX_Size() int
func (*BatchListUserRevisionsRequest) XXX_Unmarshal ¶
func (m *BatchListUserRevisionsRequest) XXX_Unmarshal(b []byte) error
type BatchListUserRevisionsResponse ¶
type BatchListUserRevisionsResponse struct { // latest_log_root contains the latest log root and its consistency proof. LatestLogRoot *LogRoot `protobuf:"bytes,1,opt,name=latest_log_root,json=latestLogRoot,proto3" json:"latest_log_root,omitempty"` // map_revisions is a list of map revisions. At most page_size revisions will be returned. MapRevisions []*BatchMapRevision `protobuf:"bytes,2,rep,name=map_revisions,json=mapRevisions,proto3" json:"map_revisions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchListUserRevisionsResponse contains multiple map leaves across multiple revisions.
func (*BatchListUserRevisionsResponse) Descriptor ¶
func (*BatchListUserRevisionsResponse) Descriptor() ([]byte, []int)
func (*BatchListUserRevisionsResponse) GetLatestLogRoot ¶
func (m *BatchListUserRevisionsResponse) GetLatestLogRoot() *LogRoot
func (*BatchListUserRevisionsResponse) GetMapRevisions ¶
func (m *BatchListUserRevisionsResponse) GetMapRevisions() []*BatchMapRevision
func (*BatchListUserRevisionsResponse) ProtoMessage ¶
func (*BatchListUserRevisionsResponse) ProtoMessage()
func (*BatchListUserRevisionsResponse) Reset ¶
func (m *BatchListUserRevisionsResponse) Reset()
func (*BatchListUserRevisionsResponse) String ¶
func (m *BatchListUserRevisionsResponse) String() string
func (*BatchListUserRevisionsResponse) XXX_DiscardUnknown ¶
func (m *BatchListUserRevisionsResponse) XXX_DiscardUnknown()
func (*BatchListUserRevisionsResponse) XXX_Marshal ¶
func (m *BatchListUserRevisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchListUserRevisionsResponse) XXX_Merge ¶
func (m *BatchListUserRevisionsResponse) XXX_Merge(src proto.Message)
func (*BatchListUserRevisionsResponse) XXX_Size ¶
func (m *BatchListUserRevisionsResponse) XXX_Size() int
func (*BatchListUserRevisionsResponse) XXX_Unmarshal ¶
func (m *BatchListUserRevisionsResponse) XXX_Unmarshal(b []byte) error
type BatchMapRevision ¶
type BatchMapRevision struct { // map_root contains the map root and its inclusion in the log. MapRoot *MapRoot `protobuf:"bytes,1,opt,name=map_root,json=mapRoot,proto3" json:"map_root,omitempty"` // map_leaves_by_user_id contains a mapping from user_id to the map leaf at // this revision. MapLeavesByUserId map[string]*MapLeaf `` /* 206-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchMapRevision contains a set of map leaves at a speific revision.
func (*BatchMapRevision) Descriptor ¶
func (*BatchMapRevision) Descriptor() ([]byte, []int)
func (*BatchMapRevision) GetMapLeavesByUserId ¶
func (m *BatchMapRevision) GetMapLeavesByUserId() map[string]*MapLeaf
func (*BatchMapRevision) GetMapRoot ¶
func (m *BatchMapRevision) GetMapRoot() *MapRoot
func (*BatchMapRevision) ProtoMessage ¶
func (*BatchMapRevision) ProtoMessage()
func (*BatchMapRevision) Reset ¶
func (m *BatchMapRevision) Reset()
func (*BatchMapRevision) String ¶
func (m *BatchMapRevision) String() string
func (*BatchMapRevision) XXX_DiscardUnknown ¶
func (m *BatchMapRevision) XXX_DiscardUnknown()
func (*BatchMapRevision) XXX_Marshal ¶
func (m *BatchMapRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchMapRevision) XXX_Merge ¶
func (m *BatchMapRevision) XXX_Merge(src proto.Message)
func (*BatchMapRevision) XXX_Size ¶
func (m *BatchMapRevision) XXX_Size() int
func (*BatchMapRevision) XXX_Unmarshal ¶
func (m *BatchMapRevision) XXX_Unmarshal(b []byte) error
type BatchQueueUserUpdateRequest ¶
type BatchQueueUserUpdateRequest struct { // directory_id identifies the directory in which the users live. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // updates contains user updates. Updates []*EntryUpdate `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BatchQueueUserUpdateRequest enqueues multiple changes to user profiles.
func (*BatchQueueUserUpdateRequest) Descriptor ¶
func (*BatchQueueUserUpdateRequest) Descriptor() ([]byte, []int)
func (*BatchQueueUserUpdateRequest) GetDirectoryId ¶
func (m *BatchQueueUserUpdateRequest) GetDirectoryId() string
func (*BatchQueueUserUpdateRequest) GetUpdates ¶
func (m *BatchQueueUserUpdateRequest) GetUpdates() []*EntryUpdate
func (*BatchQueueUserUpdateRequest) ProtoMessage ¶
func (*BatchQueueUserUpdateRequest) ProtoMessage()
func (*BatchQueueUserUpdateRequest) Reset ¶
func (m *BatchQueueUserUpdateRequest) Reset()
func (*BatchQueueUserUpdateRequest) String ¶
func (m *BatchQueueUserUpdateRequest) String() string
func (*BatchQueueUserUpdateRequest) XXX_DiscardUnknown ¶
func (m *BatchQueueUserUpdateRequest) XXX_DiscardUnknown()
func (*BatchQueueUserUpdateRequest) XXX_Marshal ¶
func (m *BatchQueueUserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchQueueUserUpdateRequest) XXX_Merge ¶
func (m *BatchQueueUserUpdateRequest) XXX_Merge(src proto.Message)
func (*BatchQueueUserUpdateRequest) XXX_Size ¶
func (m *BatchQueueUserUpdateRequest) XXX_Size() int
func (*BatchQueueUserUpdateRequest) XXX_Unmarshal ¶
func (m *BatchQueueUserUpdateRequest) XXX_Unmarshal(b []byte) error
type Committed ¶
type Committed struct { // key is the 16 byte random commitment key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // data is the data being committed to. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Committed represents the data committed to in a cryptographic commitment. commitment = HMAC_SHA512_256(key, data)
func (*Committed) Descriptor ¶
func (*Committed) ProtoMessage ¶
func (*Committed) ProtoMessage()
func (*Committed) XXX_DiscardUnknown ¶
func (m *Committed) XXX_DiscardUnknown()
func (*Committed) XXX_Marshal ¶
func (*Committed) XXX_Unmarshal ¶
type CreateDirectoryRequest ¶
type CreateDirectoryRequest struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` MinInterval *duration.Duration `protobuf:"bytes,2,opt,name=min_interval,json=minInterval,proto3" json:"min_interval,omitempty"` MaxInterval *duration.Duration `protobuf:"bytes,3,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"` // The private_key fields allows callers to set the private key. VrfPrivateKey *any.Any `protobuf:"bytes,4,opt,name=vrf_private_key,json=vrfPrivateKey,proto3" json:"vrf_private_key,omitempty"` LogPrivateKey *any.Any `protobuf:"bytes,5,opt,name=log_private_key,json=logPrivateKey,proto3" json:"log_private_key,omitempty"` MapPrivateKey *any.Any `protobuf:"bytes,6,opt,name=map_private_key,json=mapPrivateKey,proto3" json:"map_private_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateDirectoryRequest creates a new directory
func (*CreateDirectoryRequest) Descriptor ¶
func (*CreateDirectoryRequest) Descriptor() ([]byte, []int)
func (*CreateDirectoryRequest) GetDirectoryId ¶
func (m *CreateDirectoryRequest) GetDirectoryId() string
func (*CreateDirectoryRequest) GetLogPrivateKey ¶
func (m *CreateDirectoryRequest) GetLogPrivateKey() *any.Any
func (*CreateDirectoryRequest) GetMapPrivateKey ¶
func (m *CreateDirectoryRequest) GetMapPrivateKey() *any.Any
func (*CreateDirectoryRequest) GetMaxInterval ¶
func (m *CreateDirectoryRequest) GetMaxInterval() *duration.Duration
func (*CreateDirectoryRequest) GetMinInterval ¶
func (m *CreateDirectoryRequest) GetMinInterval() *duration.Duration
func (*CreateDirectoryRequest) GetVrfPrivateKey ¶
func (m *CreateDirectoryRequest) GetVrfPrivateKey() *any.Any
func (*CreateDirectoryRequest) ProtoMessage ¶
func (*CreateDirectoryRequest) ProtoMessage()
func (*CreateDirectoryRequest) Reset ¶
func (m *CreateDirectoryRequest) Reset()
func (*CreateDirectoryRequest) String ¶
func (m *CreateDirectoryRequest) String() string
func (*CreateDirectoryRequest) XXX_DiscardUnknown ¶
func (m *CreateDirectoryRequest) XXX_DiscardUnknown()
func (*CreateDirectoryRequest) XXX_Marshal ¶
func (m *CreateDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDirectoryRequest) XXX_Merge ¶
func (m *CreateDirectoryRequest) XXX_Merge(src proto.Message)
func (*CreateDirectoryRequest) XXX_Size ¶
func (m *CreateDirectoryRequest) XXX_Size() int
func (*CreateDirectoryRequest) XXX_Unmarshal ¶
func (m *CreateDirectoryRequest) XXX_Unmarshal(b []byte) error
type DeleteDirectoryRequest ¶
type DeleteDirectoryRequest struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteDirectoryRequest deletes a directory
func (*DeleteDirectoryRequest) Descriptor ¶
func (*DeleteDirectoryRequest) Descriptor() ([]byte, []int)
func (*DeleteDirectoryRequest) GetDirectoryId ¶
func (m *DeleteDirectoryRequest) GetDirectoryId() string
func (*DeleteDirectoryRequest) ProtoMessage ¶
func (*DeleteDirectoryRequest) ProtoMessage()
func (*DeleteDirectoryRequest) Reset ¶
func (m *DeleteDirectoryRequest) Reset()
func (*DeleteDirectoryRequest) String ¶
func (m *DeleteDirectoryRequest) String() string
func (*DeleteDirectoryRequest) XXX_DiscardUnknown ¶
func (m *DeleteDirectoryRequest) XXX_DiscardUnknown()
func (*DeleteDirectoryRequest) XXX_Marshal ¶
func (m *DeleteDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDirectoryRequest) XXX_Merge ¶
func (m *DeleteDirectoryRequest) XXX_Merge(src proto.Message)
func (*DeleteDirectoryRequest) XXX_Size ¶
func (m *DeleteDirectoryRequest) XXX_Size() int
func (*DeleteDirectoryRequest) XXX_Unmarshal ¶
func (m *DeleteDirectoryRequest) XXX_Unmarshal(b []byte) error
type Directory ¶
type Directory struct { // DirectoryId can be any URL safe string. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // Log contains the Log-Tree's info. Log *trillian.Tree `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` // Map contains the Map-Tree's info. Map *trillian.Tree `protobuf:"bytes,3,opt,name=map,proto3" json:"map,omitempty"` // Vrf contains the VRF public key. Vrf *keyspb.PublicKey `protobuf:"bytes,4,opt,name=vrf,proto3" json:"vrf,omitempty"` // min_interval is the minimum time between revisions. MinInterval *duration.Duration `protobuf:"bytes,5,opt,name=min_interval,json=minInterval,proto3" json:"min_interval,omitempty"` // max_interval is the maximum time between revisions. MaxInterval *duration.Duration `protobuf:"bytes,6,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"` // Deleted indicates whether the directory has been marked as deleted. // By its presence in a response, this directory has not been garbage // collected. Deleted bool `protobuf:"varint,7,opt,name=deleted,proto3" json:"deleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Directory contains information on a single directory
func (*Directory) Descriptor ¶
func (*Directory) GetDeleted ¶
func (*Directory) GetDirectoryId ¶
func (*Directory) GetMaxInterval ¶
func (*Directory) GetMinInterval ¶
func (*Directory) ProtoMessage ¶
func (*Directory) ProtoMessage()
func (*Directory) XXX_DiscardUnknown ¶
func (m *Directory) XXX_DiscardUnknown()
func (*Directory) XXX_Marshal ¶
func (*Directory) XXX_Unmarshal ¶
type Entry ¶
type Entry struct { // index is the location of this leaf in the sparse merkle tree. Index []byte `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` // commitment is a cryptographic commitment to arbitrary data. Commitment []byte `protobuf:"bytes,6,opt,name=commitment,proto3" json:"commitment,omitempty"` // authorized_keys is the tink keyset that validates the signatures on the next entry. AuthorizedKeyset []byte `protobuf:"bytes,9,opt,name=authorized_keyset,json=authorizedKeyset,proto3" json:"authorized_keyset,omitempty"` // previous contains the SHA256 hash of SignedEntry.Entry the last time it was modified. Previous []byte `protobuf:"bytes,8,opt,name=previous,proto3" json:"previous,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Entry is a signed change to a map entry. Entry contains a commitment to profile and a set of authorized update keys. Entry is placed in the verifiable map as leaf data.
func (*Entry) Descriptor ¶
func (*Entry) GetAuthorizedKeyset ¶
func (*Entry) GetCommitment ¶
func (*Entry) GetPrevious ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
type EntryUpdate ¶
type EntryUpdate struct { // user_id specifies the id for the user whose profile is being updated. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // mutation authorizes the change to entry. Mutation *SignedEntry `protobuf:"bytes,2,opt,name=mutation,proto3" json:"mutation,omitempty"` // committed contains the data committed to in mutation.commitment. Committed *Committed `protobuf:"bytes,3,opt,name=committed,proto3" json:"committed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EntryUpdate contains the user entry update(s). EntryUpdate will be placed in a Log of mutations.
func (*EntryUpdate) Descriptor ¶
func (*EntryUpdate) Descriptor() ([]byte, []int)
func (*EntryUpdate) GetCommitted ¶
func (m *EntryUpdate) GetCommitted() *Committed
func (*EntryUpdate) GetMutation ¶
func (m *EntryUpdate) GetMutation() *SignedEntry
func (*EntryUpdate) GetUserId ¶
func (m *EntryUpdate) GetUserId() string
func (*EntryUpdate) ProtoMessage ¶
func (*EntryUpdate) ProtoMessage()
func (*EntryUpdate) Reset ¶
func (m *EntryUpdate) Reset()
func (*EntryUpdate) String ¶
func (m *EntryUpdate) String() string
func (*EntryUpdate) XXX_DiscardUnknown ¶
func (m *EntryUpdate) XXX_DiscardUnknown()
func (*EntryUpdate) XXX_Marshal ¶
func (m *EntryUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntryUpdate) XXX_Merge ¶
func (m *EntryUpdate) XXX_Merge(src proto.Message)
func (*EntryUpdate) XXX_Size ¶
func (m *EntryUpdate) XXX_Size() int
func (*EntryUpdate) XXX_Unmarshal ¶
func (m *EntryUpdate) XXX_Unmarshal(b []byte) error
type GarbageCollectRequest ¶
type GarbageCollectRequest struct { // Soft-deleted directories with a deleted timestamp before this will be fully // deleted. Before *timestamp.Timestamp `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GarbageCollect request.
func (*GarbageCollectRequest) Descriptor ¶
func (*GarbageCollectRequest) Descriptor() ([]byte, []int)
func (*GarbageCollectRequest) GetBefore ¶
func (m *GarbageCollectRequest) GetBefore() *timestamp.Timestamp
func (*GarbageCollectRequest) ProtoMessage ¶
func (*GarbageCollectRequest) ProtoMessage()
func (*GarbageCollectRequest) Reset ¶
func (m *GarbageCollectRequest) Reset()
func (*GarbageCollectRequest) String ¶
func (m *GarbageCollectRequest) String() string
func (*GarbageCollectRequest) XXX_DiscardUnknown ¶
func (m *GarbageCollectRequest) XXX_DiscardUnknown()
func (*GarbageCollectRequest) XXX_Marshal ¶
func (m *GarbageCollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GarbageCollectRequest) XXX_Merge ¶
func (m *GarbageCollectRequest) XXX_Merge(src proto.Message)
func (*GarbageCollectRequest) XXX_Size ¶
func (m *GarbageCollectRequest) XXX_Size() int
func (*GarbageCollectRequest) XXX_Unmarshal ¶
func (m *GarbageCollectRequest) XXX_Unmarshal(b []byte) error
type GarbageCollectResponse ¶
type GarbageCollectResponse struct { Directories []*Directory `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GarbageCollectResponse) Descriptor ¶
func (*GarbageCollectResponse) Descriptor() ([]byte, []int)
func (*GarbageCollectResponse) GetDirectories ¶
func (m *GarbageCollectResponse) GetDirectories() []*Directory
func (*GarbageCollectResponse) ProtoMessage ¶
func (*GarbageCollectResponse) ProtoMessage()
func (*GarbageCollectResponse) Reset ¶
func (m *GarbageCollectResponse) Reset()
func (*GarbageCollectResponse) String ¶
func (m *GarbageCollectResponse) String() string
func (*GarbageCollectResponse) XXX_DiscardUnknown ¶
func (m *GarbageCollectResponse) XXX_DiscardUnknown()
func (*GarbageCollectResponse) XXX_Marshal ¶
func (m *GarbageCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GarbageCollectResponse) XXX_Merge ¶
func (m *GarbageCollectResponse) XXX_Merge(src proto.Message)
func (*GarbageCollectResponse) XXX_Size ¶
func (m *GarbageCollectResponse) XXX_Size() int
func (*GarbageCollectResponse) XXX_Unmarshal ¶
func (m *GarbageCollectResponse) XXX_Unmarshal(b []byte) error
type GetDirectoryRequest ¶
type GetDirectoryRequest struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // showDeleted requests directories that have been marked for deletion // but have not been garbage collected. ShowDeleted bool `protobuf:"varint,2,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetDirectoryRequest specifies the directory to retrieve information for.
func (*GetDirectoryRequest) Descriptor ¶
func (*GetDirectoryRequest) Descriptor() ([]byte, []int)
func (*GetDirectoryRequest) GetDirectoryId ¶
func (m *GetDirectoryRequest) GetDirectoryId() string
func (*GetDirectoryRequest) GetShowDeleted ¶
func (m *GetDirectoryRequest) GetShowDeleted() bool
func (*GetDirectoryRequest) ProtoMessage ¶
func (*GetDirectoryRequest) ProtoMessage()
func (*GetDirectoryRequest) Reset ¶
func (m *GetDirectoryRequest) Reset()
func (*GetDirectoryRequest) String ¶
func (m *GetDirectoryRequest) String() string
func (*GetDirectoryRequest) XXX_DiscardUnknown ¶
func (m *GetDirectoryRequest) XXX_DiscardUnknown()
func (*GetDirectoryRequest) XXX_Marshal ¶
func (m *GetDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDirectoryRequest) XXX_Merge ¶
func (m *GetDirectoryRequest) XXX_Merge(src proto.Message)
func (*GetDirectoryRequest) XXX_Size ¶
func (m *GetDirectoryRequest) XXX_Size() int
func (*GetDirectoryRequest) XXX_Unmarshal ¶
func (m *GetDirectoryRequest) XXX_Unmarshal(b []byte) error
type GetLatestRevisionRequest ¶
type GetLatestRevisionRequest struct { // directory_id is the directory for which revisions are being requested. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,3,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetLatestRevisionRequest identifies a particular revision.
func (*GetLatestRevisionRequest) Descriptor ¶
func (*GetLatestRevisionRequest) Descriptor() ([]byte, []int)
func (*GetLatestRevisionRequest) GetDirectoryId ¶
func (m *GetLatestRevisionRequest) GetDirectoryId() string
func (*GetLatestRevisionRequest) GetLastVerified ¶
func (m *GetLatestRevisionRequest) GetLastVerified() *LogRootRequest
func (*GetLatestRevisionRequest) ProtoMessage ¶
func (*GetLatestRevisionRequest) ProtoMessage()
func (*GetLatestRevisionRequest) Reset ¶
func (m *GetLatestRevisionRequest) Reset()
func (*GetLatestRevisionRequest) String ¶
func (m *GetLatestRevisionRequest) String() string
func (*GetLatestRevisionRequest) XXX_DiscardUnknown ¶
func (m *GetLatestRevisionRequest) XXX_DiscardUnknown()
func (*GetLatestRevisionRequest) XXX_Marshal ¶
func (m *GetLatestRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLatestRevisionRequest) XXX_Merge ¶
func (m *GetLatestRevisionRequest) XXX_Merge(src proto.Message)
func (*GetLatestRevisionRequest) XXX_Size ¶
func (m *GetLatestRevisionRequest) XXX_Size() int
func (*GetLatestRevisionRequest) XXX_Unmarshal ¶
func (m *GetLatestRevisionRequest) XXX_Unmarshal(b []byte) error
type GetRevisionRequest ¶
type GetRevisionRequest struct { // directory_id is the directory for which revisions are being requested. DirectoryId string `protobuf:"bytes,5,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // revision specifies the revision number in which mutations will be returned. Revision int64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,4,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetRevisionRequest identifies a particular revision.
func (*GetRevisionRequest) Descriptor ¶
func (*GetRevisionRequest) Descriptor() ([]byte, []int)
func (*GetRevisionRequest) GetDirectoryId ¶
func (m *GetRevisionRequest) GetDirectoryId() string
func (*GetRevisionRequest) GetLastVerified ¶
func (m *GetRevisionRequest) GetLastVerified() *LogRootRequest
func (*GetRevisionRequest) GetRevision ¶
func (m *GetRevisionRequest) GetRevision() int64
func (*GetRevisionRequest) ProtoMessage ¶
func (*GetRevisionRequest) ProtoMessage()
func (*GetRevisionRequest) Reset ¶
func (m *GetRevisionRequest) Reset()
func (*GetRevisionRequest) String ¶
func (m *GetRevisionRequest) String() string
func (*GetRevisionRequest) XXX_DiscardUnknown ¶
func (m *GetRevisionRequest) XXX_DiscardUnknown()
func (*GetRevisionRequest) XXX_Marshal ¶
func (m *GetRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRevisionRequest) XXX_Merge ¶
func (m *GetRevisionRequest) XXX_Merge(src proto.Message)
func (*GetRevisionRequest) XXX_Size ¶
func (m *GetRevisionRequest) XXX_Size() int
func (*GetRevisionRequest) XXX_Unmarshal ¶
func (m *GetRevisionRequest) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct { // directory_id identifies the directory in which the user lives. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_id is the user identifier, the format for which is defined by the // application. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,4,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Gets the leaf entry for a user.
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetDirectoryId ¶
func (m *GetUserRequest) GetDirectoryId() string
func (*GetUserRequest) GetLastVerified ¶
func (m *GetUserRequest) GetLastVerified() *LogRootRequest
func (*GetUserRequest) GetUserId ¶
func (m *GetUserRequest) GetUserId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct { // revision is the most recently published revision. Revision *Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // leaf is the leaf entry for the requested user. Leaf *MapLeaf `protobuf:"bytes,2,opt,name=leaf,proto3" json:"leaf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains the leaf entry for a user at the most recently published revision.
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) GetLeaf ¶
func (m *GetUserResponse) GetLeaf() *MapLeaf
func (*GetUserResponse) GetRevision ¶
func (m *GetUserResponse) GetRevision() *Revision
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (m *GetUserResponse) String() string
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (m *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type InputLog ¶
type InputLog struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` LogId int64 `protobuf:"varint,2,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // writable controls whether new log items will be sent to this log. // writable is not set by ListInputLogs. Writable bool `protobuf:"varint,3,opt,name=writable,proto3" json:"writable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InputLog is an input log for a directory.
func (*InputLog) Descriptor ¶
func (*InputLog) GetDirectoryId ¶
func (*InputLog) GetWritable ¶
func (*InputLog) ProtoMessage ¶
func (*InputLog) ProtoMessage()
func (*InputLog) XXX_DiscardUnknown ¶
func (m *InputLog) XXX_DiscardUnknown()
func (*InputLog) XXX_Marshal ¶
func (*InputLog) XXX_Unmarshal ¶
type KeyTransparencyAdminClient ¶
type KeyTransparencyAdminClient interface { // ListDirectories returns a list of all directories this Key Transparency // server operates on. ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (*ListDirectoriesResponse, error) // GetDirectory returns the confiuration information for a given directory. GetDirectory(ctx context.Context, in *GetDirectoryRequest, opts ...grpc.CallOption) (*Directory, error) // CreateDirectory creates a new Trillian log/map pair. A unique directoryId // must be provided. To create a new directory with the same name as a // previously deleted directory, a user must wait X days until the directory // is garbage collected. CreateDirectory(ctx context.Context, in *CreateDirectoryRequest, opts ...grpc.CallOption) (*Directory, error) // DeleteDirectory marks a directory as deleted. Directories will be garbage // collected after X days. DeleteDirectory(ctx context.Context, in *DeleteDirectoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // UndeleteDirectory marks a previously deleted directory as active if it has // not already been garbage collected. UndeleteDirectory(ctx context.Context, in *UndeleteDirectoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // ListInputLogs returns a list of input logs for a directory. ListInputLogs(ctx context.Context, in *ListInputLogsRequest, opts ...grpc.CallOption) (*ListInputLogsResponse, error) // CreateInputLog returns a the created log. CreateInputLog(ctx context.Context, in *InputLog, opts ...grpc.CallOption) (*InputLog, error) // UpdateInputLog updates the write bit for an input log. UpdateInputLog(ctx context.Context, in *InputLog, opts ...grpc.CallOption) (*InputLog, error) // Fully delete soft-deleted directories that have been soft-deleted before // the specified timestamp. GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) }
KeyTransparencyAdminClient is the client API for KeyTransparencyAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyTransparencyAdminClient ¶
func NewKeyTransparencyAdminClient(cc *grpc.ClientConn) KeyTransparencyAdminClient
type KeyTransparencyAdminServer ¶
type KeyTransparencyAdminServer interface { // ListDirectories returns a list of all directories this Key Transparency // server operates on. ListDirectories(context.Context, *ListDirectoriesRequest) (*ListDirectoriesResponse, error) // GetDirectory returns the confiuration information for a given directory. GetDirectory(context.Context, *GetDirectoryRequest) (*Directory, error) // CreateDirectory creates a new Trillian log/map pair. A unique directoryId // must be provided. To create a new directory with the same name as a // previously deleted directory, a user must wait X days until the directory // is garbage collected. CreateDirectory(context.Context, *CreateDirectoryRequest) (*Directory, error) // DeleteDirectory marks a directory as deleted. Directories will be garbage // collected after X days. DeleteDirectory(context.Context, *DeleteDirectoryRequest) (*empty.Empty, error) // UndeleteDirectory marks a previously deleted directory as active if it has // not already been garbage collected. UndeleteDirectory(context.Context, *UndeleteDirectoryRequest) (*empty.Empty, error) // ListInputLogs returns a list of input logs for a directory. ListInputLogs(context.Context, *ListInputLogsRequest) (*ListInputLogsResponse, error) // CreateInputLog returns a the created log. CreateInputLog(context.Context, *InputLog) (*InputLog, error) // UpdateInputLog updates the write bit for an input log. UpdateInputLog(context.Context, *InputLog) (*InputLog, error) // Fully delete soft-deleted directories that have been soft-deleted before // the specified timestamp. GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) }
KeyTransparencyAdminServer is the server API for KeyTransparencyAdmin service.
type KeyTransparencyClient ¶
type KeyTransparencyClient interface { // GetDirectory returns the information needed to verify the specified // directory. GetDirectory(ctx context.Context, in *GetDirectoryRequest, opts ...grpc.CallOption) (*Directory, error) // GetRevision returns a SignedMapRoot by the by the requested revision number // along with its inclusion proof in the log and the log's consistency proofs. GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error) // GetLatestRevision returns the latest SignedMapRoot along with its inclusion // proof in the log and the log's consistency proofs. GetLatestRevision(ctx context.Context, in *GetLatestRevisionRequest, opts ...grpc.CallOption) (*Revision, error) // GetRevisionStream streams new revisions from a requested starting point // and continues as new revisions are created. GetRevisionStream(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (KeyTransparency_GetRevisionStreamClient, error) // ListMutations returns a list of mutations in a specific revision. ListMutations(ctx context.Context, in *ListMutationsRequest, opts ...grpc.CallOption) (*ListMutationsResponse, error) // ListMutationsStream is a streaming list of mutations in a specific revision. ListMutationsStream(ctx context.Context, in *ListMutationsRequest, opts ...grpc.CallOption) (KeyTransparency_ListMutationsStreamClient, error) // GetUser returns a user's leaf entry in the Merkle Tree. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // BatchGetUser returns a batch of user leaf entries in the Merkle tree at the same revision. BatchGetUser(ctx context.Context, in *BatchGetUserRequest, opts ...grpc.CallOption) (*BatchGetUserResponse, error) // BatchGetUserIndex returns the VRF proof for a set of userIDs. BatchGetUserIndex(ctx context.Context, in *BatchGetUserIndexRequest, opts ...grpc.CallOption) (*BatchGetUserIndexResponse, error) // ListEntryHistory returns a list of historic GetUser values. // // Clients verify their account history by observing correct values for their // account over time. ListEntryHistory(ctx context.Context, in *ListEntryHistoryRequest, opts ...grpc.CallOption) (*ListEntryHistoryResponse, error) // ListUserRevisions returns a list of historic leaf values for a user. // // Clients verify their account history by observing correct values for their // account over time. ListUserRevisions(ctx context.Context, in *ListUserRevisionsRequest, opts ...grpc.CallOption) (*ListUserRevisionsResponse, error) // BatchListUserRevisions returns a list of revisions for multiple users. BatchListUserRevisions(ctx context.Context, in *BatchListUserRevisionsRequest, opts ...grpc.CallOption) (*BatchListUserRevisionsResponse, error) // QueueUserUpdate enqueues an update to a user's profile. // // Clients should poll GetUser until the update appears, and retry if no // update appears after a timeout. QueueEntryUpdate(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // BatchQueueUserUpdate enqueues a list of user profiles. BatchQueueUserUpdate(ctx context.Context, in *BatchQueueUserUpdateRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
KeyTransparencyClient is the client API for KeyTransparency service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyTransparencyClient ¶
func NewKeyTransparencyClient(cc *grpc.ClientConn) KeyTransparencyClient
type KeyTransparencyFrontendClient ¶
type KeyTransparencyFrontendClient interface { // Enqueues an update to a user's identity keys. QueueKeyUpdate(ctx context.Context, in *QueueKeyUpdateRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
KeyTransparencyFrontendClient is the client API for KeyTransparencyFrontend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyTransparencyFrontendClient ¶
func NewKeyTransparencyFrontendClient(cc *grpc.ClientConn) KeyTransparencyFrontendClient
type KeyTransparencyFrontendServer ¶
type KeyTransparencyFrontendServer interface { // Enqueues an update to a user's identity keys. QueueKeyUpdate(context.Context, *QueueKeyUpdateRequest) (*empty.Empty, error) }
KeyTransparencyFrontendServer is the server API for KeyTransparencyFrontend service.
type KeyTransparencyServer ¶
type KeyTransparencyServer interface { // GetDirectory returns the information needed to verify the specified // directory. GetDirectory(context.Context, *GetDirectoryRequest) (*Directory, error) // GetRevision returns a SignedMapRoot by the by the requested revision number // along with its inclusion proof in the log and the log's consistency proofs. GetRevision(context.Context, *GetRevisionRequest) (*Revision, error) // GetLatestRevision returns the latest SignedMapRoot along with its inclusion // proof in the log and the log's consistency proofs. GetLatestRevision(context.Context, *GetLatestRevisionRequest) (*Revision, error) // GetRevisionStream streams new revisions from a requested starting point // and continues as new revisions are created. GetRevisionStream(*GetRevisionRequest, KeyTransparency_GetRevisionStreamServer) error // ListMutations returns a list of mutations in a specific revision. ListMutations(context.Context, *ListMutationsRequest) (*ListMutationsResponse, error) // ListMutationsStream is a streaming list of mutations in a specific revision. ListMutationsStream(*ListMutationsRequest, KeyTransparency_ListMutationsStreamServer) error // GetUser returns a user's leaf entry in the Merkle Tree. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // BatchGetUser returns a batch of user leaf entries in the Merkle tree at the same revision. BatchGetUser(context.Context, *BatchGetUserRequest) (*BatchGetUserResponse, error) // BatchGetUserIndex returns the VRF proof for a set of userIDs. BatchGetUserIndex(context.Context, *BatchGetUserIndexRequest) (*BatchGetUserIndexResponse, error) // ListEntryHistory returns a list of historic GetUser values. // // Clients verify their account history by observing correct values for their // account over time. ListEntryHistory(context.Context, *ListEntryHistoryRequest) (*ListEntryHistoryResponse, error) // ListUserRevisions returns a list of historic leaf values for a user. // // Clients verify their account history by observing correct values for their // account over time. ListUserRevisions(context.Context, *ListUserRevisionsRequest) (*ListUserRevisionsResponse, error) // BatchListUserRevisions returns a list of revisions for multiple users. BatchListUserRevisions(context.Context, *BatchListUserRevisionsRequest) (*BatchListUserRevisionsResponse, error) // QueueUserUpdate enqueues an update to a user's profile. // // Clients should poll GetUser until the update appears, and retry if no // update appears after a timeout. QueueEntryUpdate(context.Context, *UpdateEntryRequest) (*empty.Empty, error) // BatchQueueUserUpdate enqueues a list of user profiles. BatchQueueUserUpdate(context.Context, *BatchQueueUserUpdateRequest) (*empty.Empty, error) }
KeyTransparencyServer is the server API for KeyTransparency service.
type KeyTransparency_GetRevisionStreamClient ¶
type KeyTransparency_GetRevisionStreamClient interface { Recv() (*Revision, error) grpc.ClientStream }
type KeyTransparency_GetRevisionStreamServer ¶
type KeyTransparency_GetRevisionStreamServer interface { Send(*Revision) error grpc.ServerStream }
type KeyTransparency_ListMutationsStreamClient ¶
type KeyTransparency_ListMutationsStreamClient interface { Recv() (*MutationProof, error) grpc.ClientStream }
type KeyTransparency_ListMutationsStreamServer ¶
type KeyTransparency_ListMutationsStreamServer interface { Send(*MutationProof) error grpc.ServerStream }
type ListDirectoriesRequest ¶
type ListDirectoriesRequest struct { // showDeleted requests directories that have been marked for deletion // but have not been garbage collected. ShowDeleted bool `protobuf:"varint,1,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListDirectories request. No pagination options are provided.
func (*ListDirectoriesRequest) Descriptor ¶
func (*ListDirectoriesRequest) Descriptor() ([]byte, []int)
func (*ListDirectoriesRequest) GetShowDeleted ¶
func (m *ListDirectoriesRequest) GetShowDeleted() bool
func (*ListDirectoriesRequest) ProtoMessage ¶
func (*ListDirectoriesRequest) ProtoMessage()
func (*ListDirectoriesRequest) Reset ¶
func (m *ListDirectoriesRequest) Reset()
func (*ListDirectoriesRequest) String ¶
func (m *ListDirectoriesRequest) String() string
func (*ListDirectoriesRequest) XXX_DiscardUnknown ¶
func (m *ListDirectoriesRequest) XXX_DiscardUnknown()
func (*ListDirectoriesRequest) XXX_Marshal ¶
func (m *ListDirectoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDirectoriesRequest) XXX_Merge ¶
func (m *ListDirectoriesRequest) XXX_Merge(src proto.Message)
func (*ListDirectoriesRequest) XXX_Size ¶
func (m *ListDirectoriesRequest) XXX_Size() int
func (*ListDirectoriesRequest) XXX_Unmarshal ¶
func (m *ListDirectoriesRequest) XXX_Unmarshal(b []byte) error
type ListDirectoriesResponse ¶
type ListDirectoriesResponse struct { Directories []*Directory `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListDirectories response contains directories.
func (*ListDirectoriesResponse) Descriptor ¶
func (*ListDirectoriesResponse) Descriptor() ([]byte, []int)
func (*ListDirectoriesResponse) GetDirectories ¶
func (m *ListDirectoriesResponse) GetDirectories() []*Directory
func (*ListDirectoriesResponse) ProtoMessage ¶
func (*ListDirectoriesResponse) ProtoMessage()
func (*ListDirectoriesResponse) Reset ¶
func (m *ListDirectoriesResponse) Reset()
func (*ListDirectoriesResponse) String ¶
func (m *ListDirectoriesResponse) String() string
func (*ListDirectoriesResponse) XXX_DiscardUnknown ¶
func (m *ListDirectoriesResponse) XXX_DiscardUnknown()
func (*ListDirectoriesResponse) XXX_Marshal ¶
func (m *ListDirectoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDirectoriesResponse) XXX_Merge ¶
func (m *ListDirectoriesResponse) XXX_Merge(src proto.Message)
func (*ListDirectoriesResponse) XXX_Size ¶
func (m *ListDirectoriesResponse) XXX_Size() int
func (*ListDirectoriesResponse) XXX_Unmarshal ¶
func (m *ListDirectoriesResponse) XXX_Unmarshal(b []byte) error
type ListEntryHistoryRequest ¶
type ListEntryHistoryRequest struct { // directory_id identifies the directory in which the user lives. DirectoryId string `protobuf:"bytes,6,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_id is the user identifier. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // start is the starting revision. Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` // page_size is the maximum number of entries to return. // The server can return fewer entries than requested. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,7,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListEntryHistoryRequest gets a list of historical keys for a user.
func (*ListEntryHistoryRequest) Descriptor ¶
func (*ListEntryHistoryRequest) Descriptor() ([]byte, []int)
func (*ListEntryHistoryRequest) GetDirectoryId ¶
func (m *ListEntryHistoryRequest) GetDirectoryId() string
func (*ListEntryHistoryRequest) GetLastVerified ¶
func (m *ListEntryHistoryRequest) GetLastVerified() *LogRootRequest
func (*ListEntryHistoryRequest) GetPageSize ¶
func (m *ListEntryHistoryRequest) GetPageSize() int32
func (*ListEntryHistoryRequest) GetStart ¶
func (m *ListEntryHistoryRequest) GetStart() int64
func (*ListEntryHistoryRequest) GetUserId ¶
func (m *ListEntryHistoryRequest) GetUserId() string
func (*ListEntryHistoryRequest) ProtoMessage ¶
func (*ListEntryHistoryRequest) ProtoMessage()
func (*ListEntryHistoryRequest) Reset ¶
func (m *ListEntryHistoryRequest) Reset()
func (*ListEntryHistoryRequest) String ¶
func (m *ListEntryHistoryRequest) String() string
func (*ListEntryHistoryRequest) XXX_DiscardUnknown ¶
func (m *ListEntryHistoryRequest) XXX_DiscardUnknown()
func (*ListEntryHistoryRequest) XXX_Marshal ¶
func (m *ListEntryHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEntryHistoryRequest) XXX_Merge ¶
func (m *ListEntryHistoryRequest) XXX_Merge(src proto.Message)
func (*ListEntryHistoryRequest) XXX_Size ¶
func (m *ListEntryHistoryRequest) XXX_Size() int
func (*ListEntryHistoryRequest) XXX_Unmarshal ¶
func (m *ListEntryHistoryRequest) XXX_Unmarshal(b []byte) error
type ListEntryHistoryResponse ¶
type ListEntryHistoryResponse struct { // values represents the list of keys this user_id has contained over time. Values []*GetUserResponse `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // next_start is the next page token to query for pagination. // next_start is 0 when there are no more results to fetch. NextStart int64 `protobuf:"varint,2,opt,name=next_start,json=nextStart,proto3" json:"next_start,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListEntryHistoryResponse requests a paginated history of keys for a user.
func (*ListEntryHistoryResponse) Descriptor ¶
func (*ListEntryHistoryResponse) Descriptor() ([]byte, []int)
func (*ListEntryHistoryResponse) GetNextStart ¶
func (m *ListEntryHistoryResponse) GetNextStart() int64
func (*ListEntryHistoryResponse) GetValues ¶
func (m *ListEntryHistoryResponse) GetValues() []*GetUserResponse
func (*ListEntryHistoryResponse) ProtoMessage ¶
func (*ListEntryHistoryResponse) ProtoMessage()
func (*ListEntryHistoryResponse) Reset ¶
func (m *ListEntryHistoryResponse) Reset()
func (*ListEntryHistoryResponse) String ¶
func (m *ListEntryHistoryResponse) String() string
func (*ListEntryHistoryResponse) XXX_DiscardUnknown ¶
func (m *ListEntryHistoryResponse) XXX_DiscardUnknown()
func (*ListEntryHistoryResponse) XXX_Marshal ¶
func (m *ListEntryHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEntryHistoryResponse) XXX_Merge ¶
func (m *ListEntryHistoryResponse) XXX_Merge(src proto.Message)
func (*ListEntryHistoryResponse) XXX_Size ¶
func (m *ListEntryHistoryResponse) XXX_Size() int
func (*ListEntryHistoryResponse) XXX_Unmarshal ¶
func (m *ListEntryHistoryResponse) XXX_Unmarshal(b []byte) error
type ListInputLogsRequest ¶
type ListInputLogsRequest struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // filter_writable will only return writable logs when set. FilterWritable bool `protobuf:"varint,2,opt,name=filter_writable,json=filterWritable,proto3" json:"filter_writable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListInputLogsRequest) Descriptor ¶
func (*ListInputLogsRequest) Descriptor() ([]byte, []int)
func (*ListInputLogsRequest) GetDirectoryId ¶
func (m *ListInputLogsRequest) GetDirectoryId() string
func (*ListInputLogsRequest) GetFilterWritable ¶
func (m *ListInputLogsRequest) GetFilterWritable() bool
func (*ListInputLogsRequest) ProtoMessage ¶
func (*ListInputLogsRequest) ProtoMessage()
func (*ListInputLogsRequest) Reset ¶
func (m *ListInputLogsRequest) Reset()
func (*ListInputLogsRequest) String ¶
func (m *ListInputLogsRequest) String() string
func (*ListInputLogsRequest) XXX_DiscardUnknown ¶
func (m *ListInputLogsRequest) XXX_DiscardUnknown()
func (*ListInputLogsRequest) XXX_Marshal ¶
func (m *ListInputLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListInputLogsRequest) XXX_Merge ¶
func (m *ListInputLogsRequest) XXX_Merge(src proto.Message)
func (*ListInputLogsRequest) XXX_Size ¶
func (m *ListInputLogsRequest) XXX_Size() int
func (*ListInputLogsRequest) XXX_Unmarshal ¶
func (m *ListInputLogsRequest) XXX_Unmarshal(b []byte) error
type ListInputLogsResponse ¶
type ListInputLogsResponse struct { Logs []*InputLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListInputLogsResponse) Descriptor ¶
func (*ListInputLogsResponse) Descriptor() ([]byte, []int)
func (*ListInputLogsResponse) GetLogs ¶
func (m *ListInputLogsResponse) GetLogs() []*InputLog
func (*ListInputLogsResponse) ProtoMessage ¶
func (*ListInputLogsResponse) ProtoMessage()
func (*ListInputLogsResponse) Reset ¶
func (m *ListInputLogsResponse) Reset()
func (*ListInputLogsResponse) String ¶
func (m *ListInputLogsResponse) String() string
func (*ListInputLogsResponse) XXX_DiscardUnknown ¶
func (m *ListInputLogsResponse) XXX_DiscardUnknown()
func (*ListInputLogsResponse) XXX_Marshal ¶
func (m *ListInputLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListInputLogsResponse) XXX_Merge ¶
func (m *ListInputLogsResponse) XXX_Merge(src proto.Message)
func (*ListInputLogsResponse) XXX_Size ¶
func (m *ListInputLogsResponse) XXX_Size() int
func (*ListInputLogsResponse) XXX_Unmarshal ¶
func (m *ListInputLogsResponse) XXX_Unmarshal(b []byte) error
type ListMutationsRequest ¶
type ListMutationsRequest struct { // directory_id is the directory identifier. DirectoryId string `protobuf:"bytes,5,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // revision specifies the revision number. Revision int64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` // page_token defines the starting point for pagination. // To request the next page, pass next_page_token from the previous response. // To start at the beginning, simply omit page_token from the request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // page_size is the maximum number of mutations to return in a single request. // The server may choose a smaller page_size than the one requested. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMutationsRequest requests the mutations that created a given revision.
func (*ListMutationsRequest) Descriptor ¶
func (*ListMutationsRequest) Descriptor() ([]byte, []int)
func (*ListMutationsRequest) GetDirectoryId ¶
func (m *ListMutationsRequest) GetDirectoryId() string
func (*ListMutationsRequest) GetPageSize ¶
func (m *ListMutationsRequest) GetPageSize() int32
func (*ListMutationsRequest) GetPageToken ¶
func (m *ListMutationsRequest) GetPageToken() string
func (*ListMutationsRequest) GetRevision ¶
func (m *ListMutationsRequest) GetRevision() int64
func (*ListMutationsRequest) ProtoMessage ¶
func (*ListMutationsRequest) ProtoMessage()
func (*ListMutationsRequest) Reset ¶
func (m *ListMutationsRequest) Reset()
func (*ListMutationsRequest) String ¶
func (m *ListMutationsRequest) String() string
func (*ListMutationsRequest) XXX_DiscardUnknown ¶
func (m *ListMutationsRequest) XXX_DiscardUnknown()
func (*ListMutationsRequest) XXX_Marshal ¶
func (m *ListMutationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMutationsRequest) XXX_Merge ¶
func (m *ListMutationsRequest) XXX_Merge(src proto.Message)
func (*ListMutationsRequest) XXX_Size ¶
func (m *ListMutationsRequest) XXX_Size() int
func (*ListMutationsRequest) XXX_Unmarshal ¶
func (m *ListMutationsRequest) XXX_Unmarshal(b []byte) error
type ListMutationsResponse ¶
type ListMutationsResponse struct { // mutations contains the mutation object and the leaf value it operated on. Mutations []*MutationProof `protobuf:"bytes,6,rep,name=mutations,proto3" json:"mutations,omitempty"` // next_page_token is the next page token to query for pagination. // An empty value means there are no more results to fetch. NextPageToken string `protobuf:"bytes,7,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMutationsResponse contains the mutations that produced an revision.
func (*ListMutationsResponse) Descriptor ¶
func (*ListMutationsResponse) Descriptor() ([]byte, []int)
func (*ListMutationsResponse) GetMutations ¶
func (m *ListMutationsResponse) GetMutations() []*MutationProof
func (*ListMutationsResponse) GetNextPageToken ¶
func (m *ListMutationsResponse) GetNextPageToken() string
func (*ListMutationsResponse) ProtoMessage ¶
func (*ListMutationsResponse) ProtoMessage()
func (*ListMutationsResponse) Reset ¶
func (m *ListMutationsResponse) Reset()
func (*ListMutationsResponse) String ¶
func (m *ListMutationsResponse) String() string
func (*ListMutationsResponse) XXX_DiscardUnknown ¶
func (m *ListMutationsResponse) XXX_DiscardUnknown()
func (*ListMutationsResponse) XXX_Marshal ¶
func (m *ListMutationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMutationsResponse) XXX_Merge ¶
func (m *ListMutationsResponse) XXX_Merge(src proto.Message)
func (*ListMutationsResponse) XXX_Size ¶
func (m *ListMutationsResponse) XXX_Size() int
func (*ListMutationsResponse) XXX_Unmarshal ¶
func (m *ListMutationsResponse) XXX_Unmarshal(b []byte) error
type ListUserRevisionsRequest ¶
type ListUserRevisionsRequest struct { // directory_id identifies the directory in which the user lives. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_id is the user identifier. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // start_revision is the starting epoch. StartRevision int64 `protobuf:"varint,3,opt,name=start_revision,json=startRevision,proto3" json:"start_revision,omitempty"` // end_revision is the ending epoch. EndRevision int64 `protobuf:"varint,4,opt,name=end_revision,json=endRevision,proto3" json:"end_revision,omitempty"` // page_size is the maximum number of entries to return. If page_size is // unspecified, the server will decide how to paginate results. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page_token is a continuation token for paginating through results. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // last_verified is the last log root the client verified. // Omitting this field will omit the log consistency proof from the response. LastVerified *LogRootRequest `protobuf:"bytes,8,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListUserRevisionsRequest gets a list of historical keys for a user.
func (*ListUserRevisionsRequest) Descriptor ¶
func (*ListUserRevisionsRequest) Descriptor() ([]byte, []int)
func (*ListUserRevisionsRequest) GetDirectoryId ¶
func (m *ListUserRevisionsRequest) GetDirectoryId() string
func (*ListUserRevisionsRequest) GetEndRevision ¶
func (m *ListUserRevisionsRequest) GetEndRevision() int64
func (*ListUserRevisionsRequest) GetLastVerified ¶
func (m *ListUserRevisionsRequest) GetLastVerified() *LogRootRequest
func (*ListUserRevisionsRequest) GetPageSize ¶
func (m *ListUserRevisionsRequest) GetPageSize() int32
func (*ListUserRevisionsRequest) GetPageToken ¶
func (m *ListUserRevisionsRequest) GetPageToken() string
func (*ListUserRevisionsRequest) GetStartRevision ¶
func (m *ListUserRevisionsRequest) GetStartRevision() int64
func (*ListUserRevisionsRequest) GetUserId ¶
func (m *ListUserRevisionsRequest) GetUserId() string
func (*ListUserRevisionsRequest) ProtoMessage ¶
func (*ListUserRevisionsRequest) ProtoMessage()
func (*ListUserRevisionsRequest) Reset ¶
func (m *ListUserRevisionsRequest) Reset()
func (*ListUserRevisionsRequest) String ¶
func (m *ListUserRevisionsRequest) String() string
func (*ListUserRevisionsRequest) XXX_DiscardUnknown ¶
func (m *ListUserRevisionsRequest) XXX_DiscardUnknown()
func (*ListUserRevisionsRequest) XXX_Marshal ¶
func (m *ListUserRevisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserRevisionsRequest) XXX_Merge ¶
func (m *ListUserRevisionsRequest) XXX_Merge(src proto.Message)
func (*ListUserRevisionsRequest) XXX_Size ¶
func (m *ListUserRevisionsRequest) XXX_Size() int
func (*ListUserRevisionsRequest) XXX_Unmarshal ¶
func (m *ListUserRevisionsRequest) XXX_Unmarshal(b []byte) error
type ListUserRevisionsResponse ¶
type ListUserRevisionsResponse struct { // latest_log_root contains the latest log root and its consistency proof. LatestLogRoot *LogRoot `protobuf:"bytes,1,opt,name=latest_log_root,json=latestLogRoot,proto3" json:"latest_log_root,omitempty"` // map_revisions represents the list of keys this user_id has contained over // time. At most page_size results will be returned. MapRevisions []*MapRevision `protobuf:"bytes,2,rep,name=map_revisions,json=mapRevisions,proto3" json:"map_revisions,omitempty"` // next_page_token is a pagination token which will be set if more than // page_size results are available. Clients can pass this value as // the page_token in the next request in order to continue pagination. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListUserRevisionsResponse requests a paginated history of keys for a user.
func (*ListUserRevisionsResponse) Descriptor ¶
func (*ListUserRevisionsResponse) Descriptor() ([]byte, []int)
func (*ListUserRevisionsResponse) GetLatestLogRoot ¶
func (m *ListUserRevisionsResponse) GetLatestLogRoot() *LogRoot
func (*ListUserRevisionsResponse) GetMapRevisions ¶
func (m *ListUserRevisionsResponse) GetMapRevisions() []*MapRevision
func (*ListUserRevisionsResponse) GetNextPageToken ¶
func (m *ListUserRevisionsResponse) GetNextPageToken() string
func (*ListUserRevisionsResponse) ProtoMessage ¶
func (*ListUserRevisionsResponse) ProtoMessage()
func (*ListUserRevisionsResponse) Reset ¶
func (m *ListUserRevisionsResponse) Reset()
func (*ListUserRevisionsResponse) String ¶
func (m *ListUserRevisionsResponse) String() string
func (*ListUserRevisionsResponse) XXX_DiscardUnknown ¶
func (m *ListUserRevisionsResponse) XXX_DiscardUnknown()
func (*ListUserRevisionsResponse) XXX_Marshal ¶
func (m *ListUserRevisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserRevisionsResponse) XXX_Merge ¶
func (m *ListUserRevisionsResponse) XXX_Merge(src proto.Message)
func (*ListUserRevisionsResponse) XXX_Size ¶
func (m *ListUserRevisionsResponse) XXX_Size() int
func (*ListUserRevisionsResponse) XXX_Unmarshal ¶
func (m *ListUserRevisionsResponse) XXX_Unmarshal(b []byte) error
type LogRoot ¶
type LogRoot struct { // log_root is the latest globally consistent log root. LogRoot *trillian.SignedLogRoot `protobuf:"bytes,1,opt,name=log_root,json=logRoot,proto3" json:"log_root,omitempty"` // log_consistency proves that log_root is consistent with previously seen // roots. LogConsistency [][]byte `protobuf:"bytes,2,rep,name=log_consistency,json=logConsistency,proto3" json:"log_consistency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LogRoot contains the latest log root and its consistency proof.
func (*LogRoot) Descriptor ¶
func (*LogRoot) GetLogConsistency ¶
func (*LogRoot) GetLogRoot ¶
func (m *LogRoot) GetLogRoot() *trillian.SignedLogRoot
func (*LogRoot) ProtoMessage ¶
func (*LogRoot) ProtoMessage()
func (*LogRoot) XXX_DiscardUnknown ¶
func (m *LogRoot) XXX_DiscardUnknown()
func (*LogRoot) XXX_Marshal ¶
func (*LogRoot) XXX_Unmarshal ¶
type LogRootRequest ¶
type LogRootRequest struct { // root_hash is the root hash of the last log root the client verified. RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // tree_size is the tree size of the last log root the client verified. TreeSize int64 `protobuf:"varint,2,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LogRootRequest contains the information needed to request and verify LogRoot.
func (*LogRootRequest) Descriptor ¶
func (*LogRootRequest) Descriptor() ([]byte, []int)
func (*LogRootRequest) GetRootHash ¶
func (m *LogRootRequest) GetRootHash() []byte
func (*LogRootRequest) GetTreeSize ¶
func (m *LogRootRequest) GetTreeSize() int64
func (*LogRootRequest) ProtoMessage ¶
func (*LogRootRequest) ProtoMessage()
func (*LogRootRequest) Reset ¶
func (m *LogRootRequest) Reset()
func (*LogRootRequest) String ¶
func (m *LogRootRequest) String() string
func (*LogRootRequest) XXX_DiscardUnknown ¶
func (m *LogRootRequest) XXX_DiscardUnknown()
func (*LogRootRequest) XXX_Marshal ¶
func (m *LogRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogRootRequest) XXX_Merge ¶
func (m *LogRootRequest) XXX_Merge(src proto.Message)
func (*LogRootRequest) XXX_Size ¶
func (m *LogRootRequest) XXX_Size() int
func (*LogRootRequest) XXX_Unmarshal ¶
func (m *LogRootRequest) XXX_Unmarshal(b []byte) error
type MapLeaf ¶
type MapLeaf struct { // vrf_proof is the proof for the VRF on user_id. VrfProof []byte `protobuf:"bytes,1,opt,name=vrf_proof,json=vrfProof,proto3" json:"vrf_proof,omitempty"` // map_inclusion is an inclusion proof for the map leaf in an accompanying // trillian.SignedMapRoot. If the leaf is non-empty, its leaf.leaf_value // stores a serialized Entry proto. MapInclusion *trillian.MapLeafInclusion `protobuf:"bytes,2,opt,name=map_inclusion,json=mapInclusion,proto3" json:"map_inclusion,omitempty"` // committed contains the data and nonce used to make a cryptographic // commitment, which is stored in the commitment field of the serialized Entry // proto from map_inclusion. // Note: committed can also be found serialized in // map_inclusion.leaf.extra_data. Committed *Committed `protobuf:"bytes,3,opt,name=committed,proto3" json:"committed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Leaf entry for a user.
func (*MapLeaf) Descriptor ¶
func (*MapLeaf) GetCommitted ¶
func (*MapLeaf) GetMapInclusion ¶
func (m *MapLeaf) GetMapInclusion() *trillian.MapLeafInclusion
func (*MapLeaf) GetVrfProof ¶
func (*MapLeaf) ProtoMessage ¶
func (*MapLeaf) ProtoMessage()
func (*MapLeaf) XXX_DiscardUnknown ¶
func (m *MapLeaf) XXX_DiscardUnknown()
func (*MapLeaf) XXX_Marshal ¶
func (*MapLeaf) XXX_Unmarshal ¶
type MapRevision ¶
type MapRevision struct { // map_root contains the map root and its inclusion in the log. MapRoot *MapRoot `protobuf:"bytes,1,opt,name=map_root,json=mapRoot,proto3" json:"map_root,omitempty"` // map_leaf contains a leaf and its inclusion proof to map_root. MapLeaf *MapLeaf `protobuf:"bytes,2,opt,name=map_leaf,json=mapLeaf,proto3" json:"map_leaf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MapRevision contains a map leaf at a speific revision.
func (*MapRevision) Descriptor ¶
func (*MapRevision) Descriptor() ([]byte, []int)
func (*MapRevision) GetMapLeaf ¶
func (m *MapRevision) GetMapLeaf() *MapLeaf
func (*MapRevision) GetMapRoot ¶
func (m *MapRevision) GetMapRoot() *MapRoot
func (*MapRevision) ProtoMessage ¶
func (*MapRevision) ProtoMessage()
func (*MapRevision) Reset ¶
func (m *MapRevision) Reset()
func (*MapRevision) String ¶
func (m *MapRevision) String() string
func (*MapRevision) XXX_DiscardUnknown ¶
func (m *MapRevision) XXX_DiscardUnknown()
func (*MapRevision) XXX_Marshal ¶
func (m *MapRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapRevision) XXX_Merge ¶
func (m *MapRevision) XXX_Merge(src proto.Message)
func (*MapRevision) XXX_Size ¶
func (m *MapRevision) XXX_Size() int
func (*MapRevision) XXX_Unmarshal ¶
func (m *MapRevision) XXX_Unmarshal(b []byte) error
type MapRoot ¶
type MapRoot struct { // map_root contains the signed map root for the sparse Merkle Tree. MapRoot *trillian.SignedMapRoot `protobuf:"bytes,1,opt,name=map_root,json=mapRoot,proto3" json:"map_root,omitempty"` // log_inclusion proves that map_root is part of log_root at // index=map_root.MapRevision. LogInclusion [][]byte `protobuf:"bytes,2,rep,name=log_inclusion,json=logInclusion,proto3" json:"log_inclusion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MapRoot contains the map root and its inclusion proof in the log.
func (*MapRoot) Descriptor ¶
func (*MapRoot) GetLogInclusion ¶
func (*MapRoot) GetMapRoot ¶
func (m *MapRoot) GetMapRoot() *trillian.SignedMapRoot
func (*MapRoot) ProtoMessage ¶
func (*MapRoot) ProtoMessage()
func (*MapRoot) XXX_DiscardUnknown ¶
func (m *MapRoot) XXX_DiscardUnknown()
func (*MapRoot) XXX_Marshal ¶
func (*MapRoot) XXX_Unmarshal ¶
type MapperMetadata ¶
type MapperMetadata struct { HighestFullyCompletedSeq int64 `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MapperMetadata tracks the mutations that have been mapped so far. It is embedded in the Trillian SignedMapHead.
func (*MapperMetadata) Descriptor ¶
func (*MapperMetadata) Descriptor() ([]byte, []int)
func (*MapperMetadata) GetHighestFullyCompletedSeq ¶
func (m *MapperMetadata) GetHighestFullyCompletedSeq() int64
func (*MapperMetadata) ProtoMessage ¶
func (*MapperMetadata) ProtoMessage()
func (*MapperMetadata) Reset ¶
func (m *MapperMetadata) Reset()
func (*MapperMetadata) String ¶
func (m *MapperMetadata) String() string
func (*MapperMetadata) XXX_DiscardUnknown ¶
func (m *MapperMetadata) XXX_DiscardUnknown()
func (*MapperMetadata) XXX_Marshal ¶
func (m *MapperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapperMetadata) XXX_Merge ¶
func (m *MapperMetadata) XXX_Merge(src proto.Message)
func (*MapperMetadata) XXX_Size ¶
func (m *MapperMetadata) XXX_Size() int
func (*MapperMetadata) XXX_Unmarshal ¶
func (m *MapperMetadata) XXX_Unmarshal(b []byte) error
type MutationProof ¶
type MutationProof struct { // mutation contains the information needed to modify the old leaf. // The format of a mutation is specific to the particular Mutate function // being used. Mutation *SignedEntry `protobuf:"bytes,1,opt,name=mutation,proto3" json:"mutation,omitempty"` // leaf_proof contains the leaf and its inclusion proof for a particular map // revision. LeafProof *trillian.MapLeafInclusion `protobuf:"bytes,2,opt,name=leaf_proof,json=leafProof,proto3" json:"leaf_proof,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MutationProof contains the information necessary to compute the new leaf value. It contains a) the old leaf value with it's inclusion proof and b) the mutation. The new leaf value is computed via:
Mutate(leaf_value, mutation)
func (*MutationProof) Descriptor ¶
func (*MutationProof) Descriptor() ([]byte, []int)
func (*MutationProof) GetLeafProof ¶
func (m *MutationProof) GetLeafProof() *trillian.MapLeafInclusion
func (*MutationProof) GetMutation ¶
func (m *MutationProof) GetMutation() *SignedEntry
func (*MutationProof) ProtoMessage ¶
func (*MutationProof) ProtoMessage()
func (*MutationProof) Reset ¶
func (m *MutationProof) Reset()
func (*MutationProof) String ¶
func (m *MutationProof) String() string
func (*MutationProof) XXX_DiscardUnknown ¶
func (m *MutationProof) XXX_DiscardUnknown()
func (*MutationProof) XXX_Marshal ¶
func (m *MutationProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MutationProof) XXX_Merge ¶
func (m *MutationProof) XXX_Merge(src proto.Message)
func (*MutationProof) XXX_Size ¶
func (m *MutationProof) XXX_Size() int
func (*MutationProof) XXX_Unmarshal ¶
func (m *MutationProof) XXX_Unmarshal(b []byte) error
type QueueKeyUpdateRequest ¶
type QueueKeyUpdateRequest struct { // directory_id identifies the directory in which the user lives. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // user_id specifies the id for the user whose keys are being updated. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // key_data is the key data to store. KeyData []byte `protobuf:"bytes,3,opt,name=key_data,json=keyData,proto3" json:"key_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueueKeyUpdateRequest enqueues an update to a user's identity keys.
func (*QueueKeyUpdateRequest) Descriptor ¶
func (*QueueKeyUpdateRequest) Descriptor() ([]byte, []int)
func (*QueueKeyUpdateRequest) GetDirectoryId ¶
func (m *QueueKeyUpdateRequest) GetDirectoryId() string
func (*QueueKeyUpdateRequest) GetKeyData ¶
func (m *QueueKeyUpdateRequest) GetKeyData() []byte
func (*QueueKeyUpdateRequest) GetUserId ¶
func (m *QueueKeyUpdateRequest) GetUserId() string
func (*QueueKeyUpdateRequest) ProtoMessage ¶
func (*QueueKeyUpdateRequest) ProtoMessage()
func (*QueueKeyUpdateRequest) Reset ¶
func (m *QueueKeyUpdateRequest) Reset()
func (*QueueKeyUpdateRequest) String ¶
func (m *QueueKeyUpdateRequest) String() string
func (*QueueKeyUpdateRequest) XXX_DiscardUnknown ¶
func (m *QueueKeyUpdateRequest) XXX_DiscardUnknown()
func (*QueueKeyUpdateRequest) XXX_Marshal ¶
func (m *QueueKeyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueueKeyUpdateRequest) XXX_Merge ¶
func (m *QueueKeyUpdateRequest) XXX_Merge(src proto.Message)
func (*QueueKeyUpdateRequest) XXX_Size ¶
func (m *QueueKeyUpdateRequest) XXX_Size() int
func (*QueueKeyUpdateRequest) XXX_Unmarshal ¶
func (m *QueueKeyUpdateRequest) XXX_Unmarshal(b []byte) error
type Revision ¶
type Revision struct { // directory_id is the directory identifier. DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // map_root contains the map root and its inclusion in the log. MapRoot *MapRoot `protobuf:"bytes,5,opt,name=map_root,json=mapRoot,proto3" json:"map_root,omitempty"` // latest_log_root contains the most recent log root and its consistency // proof to the client's last seen log root. LatestLogRoot *LogRoot `protobuf:"bytes,6,opt,name=latest_log_root,json=latestLogRoot,proto3" json:"latest_log_root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Revision represents a snapshot of the entire key directory and a diff of what changed between this revision and the previous revision.
func (*Revision) Descriptor ¶
func (*Revision) GetDirectoryId ¶
func (*Revision) GetLatestLogRoot ¶
func (*Revision) GetMapRoot ¶
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) XXX_DiscardUnknown ¶
func (m *Revision) XXX_DiscardUnknown()
func (*Revision) XXX_Marshal ¶
func (*Revision) XXX_Unmarshal ¶
type SignedEntry ¶
type SignedEntry struct { // entry contains a serialized Entry. Entry []byte `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // signatures on entry. Must be signed by keys from both previous and // current revisions. The first proves ownership of new revision key, and the // second proves that the correct owner is making this change. // The signature scheme is specified by the authorized_keys tink.Keyset. Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SignedEntry is a cryptographically signed Entry. SignedEntry will be storead as a trillian.Map leaf.
func (*SignedEntry) Descriptor ¶
func (*SignedEntry) Descriptor() ([]byte, []int)
func (*SignedEntry) GetEntry ¶
func (m *SignedEntry) GetEntry() []byte
func (*SignedEntry) GetSignatures ¶
func (m *SignedEntry) GetSignatures() [][]byte
func (*SignedEntry) ProtoMessage ¶
func (*SignedEntry) ProtoMessage()
func (*SignedEntry) Reset ¶
func (m *SignedEntry) Reset()
func (*SignedEntry) String ¶
func (m *SignedEntry) String() string
func (*SignedEntry) XXX_DiscardUnknown ¶
func (m *SignedEntry) XXX_DiscardUnknown()
func (*SignedEntry) XXX_Marshal ¶
func (m *SignedEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedEntry) XXX_Merge ¶
func (m *SignedEntry) XXX_Merge(src proto.Message)
func (*SignedEntry) XXX_Size ¶
func (m *SignedEntry) XXX_Size() int
func (*SignedEntry) XXX_Unmarshal ¶
func (m *SignedEntry) XXX_Unmarshal(b []byte) error
type UndeleteDirectoryRequest ¶
type UndeleteDirectoryRequest struct { DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UndeleteDirectoryRequest deletes a directory
func (*UndeleteDirectoryRequest) Descriptor ¶
func (*UndeleteDirectoryRequest) Descriptor() ([]byte, []int)
func (*UndeleteDirectoryRequest) GetDirectoryId ¶
func (m *UndeleteDirectoryRequest) GetDirectoryId() string
func (*UndeleteDirectoryRequest) ProtoMessage ¶
func (*UndeleteDirectoryRequest) ProtoMessage()
func (*UndeleteDirectoryRequest) Reset ¶
func (m *UndeleteDirectoryRequest) Reset()
func (*UndeleteDirectoryRequest) String ¶
func (m *UndeleteDirectoryRequest) String() string
func (*UndeleteDirectoryRequest) XXX_DiscardUnknown ¶
func (m *UndeleteDirectoryRequest) XXX_DiscardUnknown()
func (*UndeleteDirectoryRequest) XXX_Marshal ¶
func (m *UndeleteDirectoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndeleteDirectoryRequest) XXX_Merge ¶
func (m *UndeleteDirectoryRequest) XXX_Merge(src proto.Message)
func (*UndeleteDirectoryRequest) XXX_Size ¶
func (m *UndeleteDirectoryRequest) XXX_Size() int
func (*UndeleteDirectoryRequest) XXX_Unmarshal ¶
func (m *UndeleteDirectoryRequest) XXX_Unmarshal(b []byte) error
type UnimplementedKeyTransparencyAdminServer ¶
type UnimplementedKeyTransparencyAdminServer struct { }
UnimplementedKeyTransparencyAdminServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyTransparencyAdminServer) CreateDirectory ¶
func (*UnimplementedKeyTransparencyAdminServer) CreateDirectory(ctx context.Context, req *CreateDirectoryRequest) (*Directory, error)
func (*UnimplementedKeyTransparencyAdminServer) CreateInputLog ¶
func (*UnimplementedKeyTransparencyAdminServer) DeleteDirectory ¶
func (*UnimplementedKeyTransparencyAdminServer) DeleteDirectory(ctx context.Context, req *DeleteDirectoryRequest) (*empty.Empty, error)
func (*UnimplementedKeyTransparencyAdminServer) GarbageCollect ¶
func (*UnimplementedKeyTransparencyAdminServer) GarbageCollect(ctx context.Context, req *GarbageCollectRequest) (*GarbageCollectResponse, error)
func (*UnimplementedKeyTransparencyAdminServer) GetDirectory ¶
func (*UnimplementedKeyTransparencyAdminServer) GetDirectory(ctx context.Context, req *GetDirectoryRequest) (*Directory, error)
func (*UnimplementedKeyTransparencyAdminServer) ListDirectories ¶
func (*UnimplementedKeyTransparencyAdminServer) ListDirectories(ctx context.Context, req *ListDirectoriesRequest) (*ListDirectoriesResponse, error)
func (*UnimplementedKeyTransparencyAdminServer) ListInputLogs ¶
func (*UnimplementedKeyTransparencyAdminServer) ListInputLogs(ctx context.Context, req *ListInputLogsRequest) (*ListInputLogsResponse, error)
func (*UnimplementedKeyTransparencyAdminServer) UndeleteDirectory ¶
func (*UnimplementedKeyTransparencyAdminServer) UndeleteDirectory(ctx context.Context, req *UndeleteDirectoryRequest) (*empty.Empty, error)
func (*UnimplementedKeyTransparencyAdminServer) UpdateInputLog ¶
type UnimplementedKeyTransparencyFrontendServer ¶
type UnimplementedKeyTransparencyFrontendServer struct { }
UnimplementedKeyTransparencyFrontendServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyTransparencyFrontendServer) QueueKeyUpdate ¶
func (*UnimplementedKeyTransparencyFrontendServer) QueueKeyUpdate(ctx context.Context, req *QueueKeyUpdateRequest) (*empty.Empty, error)
type UnimplementedKeyTransparencyServer ¶
type UnimplementedKeyTransparencyServer struct { }
UnimplementedKeyTransparencyServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyTransparencyServer) BatchGetUser ¶
func (*UnimplementedKeyTransparencyServer) BatchGetUser(ctx context.Context, req *BatchGetUserRequest) (*BatchGetUserResponse, error)
func (*UnimplementedKeyTransparencyServer) BatchGetUserIndex ¶
func (*UnimplementedKeyTransparencyServer) BatchGetUserIndex(ctx context.Context, req *BatchGetUserIndexRequest) (*BatchGetUserIndexResponse, error)
func (*UnimplementedKeyTransparencyServer) BatchListUserRevisions ¶
func (*UnimplementedKeyTransparencyServer) BatchListUserRevisions(ctx context.Context, req *BatchListUserRevisionsRequest) (*BatchListUserRevisionsResponse, error)
func (*UnimplementedKeyTransparencyServer) BatchQueueUserUpdate ¶
func (*UnimplementedKeyTransparencyServer) BatchQueueUserUpdate(ctx context.Context, req *BatchQueueUserUpdateRequest) (*empty.Empty, error)
func (*UnimplementedKeyTransparencyServer) GetDirectory ¶
func (*UnimplementedKeyTransparencyServer) GetDirectory(ctx context.Context, req *GetDirectoryRequest) (*Directory, error)
func (*UnimplementedKeyTransparencyServer) GetLatestRevision ¶
func (*UnimplementedKeyTransparencyServer) GetLatestRevision(ctx context.Context, req *GetLatestRevisionRequest) (*Revision, error)
func (*UnimplementedKeyTransparencyServer) GetRevision ¶
func (*UnimplementedKeyTransparencyServer) GetRevision(ctx context.Context, req *GetRevisionRequest) (*Revision, error)
func (*UnimplementedKeyTransparencyServer) GetRevisionStream ¶
func (*UnimplementedKeyTransparencyServer) GetRevisionStream(req *GetRevisionRequest, srv KeyTransparency_GetRevisionStreamServer) error
func (*UnimplementedKeyTransparencyServer) GetUser ¶
func (*UnimplementedKeyTransparencyServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedKeyTransparencyServer) ListEntryHistory ¶
func (*UnimplementedKeyTransparencyServer) ListEntryHistory(ctx context.Context, req *ListEntryHistoryRequest) (*ListEntryHistoryResponse, error)
func (*UnimplementedKeyTransparencyServer) ListMutations ¶
func (*UnimplementedKeyTransparencyServer) ListMutations(ctx context.Context, req *ListMutationsRequest) (*ListMutationsResponse, error)
func (*UnimplementedKeyTransparencyServer) ListMutationsStream ¶
func (*UnimplementedKeyTransparencyServer) ListMutationsStream(req *ListMutationsRequest, srv KeyTransparency_ListMutationsStreamServer) error
func (*UnimplementedKeyTransparencyServer) ListUserRevisions ¶
func (*UnimplementedKeyTransparencyServer) ListUserRevisions(ctx context.Context, req *ListUserRevisionsRequest) (*ListUserRevisionsResponse, error)
func (*UnimplementedKeyTransparencyServer) QueueEntryUpdate ¶
func (*UnimplementedKeyTransparencyServer) QueueEntryUpdate(ctx context.Context, req *UpdateEntryRequest) (*empty.Empty, error)
type UpdateEntryRequest ¶
type UpdateEntryRequest struct { // directory_id identifies the directory in which the user lives. DirectoryId string `protobuf:"bytes,5,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // entry_update contains the user submitted update. EntryUpdate *EntryUpdate `protobuf:"bytes,4,opt,name=entry_update,json=entryUpdate,proto3" json:"entry_update,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateEntryRequest updates a user's profile.
func (*UpdateEntryRequest) Descriptor ¶
func (*UpdateEntryRequest) Descriptor() ([]byte, []int)
func (*UpdateEntryRequest) GetDirectoryId ¶
func (m *UpdateEntryRequest) GetDirectoryId() string
func (*UpdateEntryRequest) GetEntryUpdate ¶
func (m *UpdateEntryRequest) GetEntryUpdate() *EntryUpdate
func (*UpdateEntryRequest) ProtoMessage ¶
func (*UpdateEntryRequest) ProtoMessage()
func (*UpdateEntryRequest) Reset ¶
func (m *UpdateEntryRequest) Reset()
func (*UpdateEntryRequest) String ¶
func (m *UpdateEntryRequest) String() string
func (*UpdateEntryRequest) XXX_DiscardUnknown ¶
func (m *UpdateEntryRequest) XXX_DiscardUnknown()
func (*UpdateEntryRequest) XXX_Marshal ¶
func (m *UpdateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateEntryRequest) XXX_Merge ¶
func (m *UpdateEntryRequest) XXX_Merge(src proto.Message)
func (*UpdateEntryRequest) XXX_Size ¶
func (m *UpdateEntryRequest) XXX_Size() int
func (*UpdateEntryRequest) XXX_Unmarshal ¶
func (m *UpdateEntryRequest) XXX_Unmarshal(b []byte) error