keytransparency_go_proto

package
v0.1.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

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

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 (dst *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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *BatchGetUserRequest) GetLastVerifiedTreeSize() int64

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 (dst *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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *BatchListUserRevisionsRequest) GetLastVerifiedTreeSize() int64

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 (*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 (dst *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 (*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 (dst *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 (dst *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 (dst *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) Descriptor() ([]byte, []int)

func (*Committed) GetData

func (m *Committed) GetData() []byte

func (*Committed) GetKey

func (m *Committed) GetKey() []byte

func (*Committed) ProtoMessage

func (*Committed) ProtoMessage()

func (*Committed) Reset

func (m *Committed) Reset()

func (*Committed) String

func (m *Committed) String() string

func (*Committed) XXX_DiscardUnknown

func (m *Committed) XXX_DiscardUnknown()

func (*Committed) XXX_Marshal

func (m *Committed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Committed) XXX_Merge

func (dst *Committed) XXX_Merge(src proto.Message)

func (*Committed) XXX_Size

func (m *Committed) XXX_Size() int

func (*Committed) XXX_Unmarshal

func (m *Committed) XXX_Unmarshal(b []byte) error

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 (dst *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 (dst *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) Descriptor() ([]byte, []int)

func (*Directory) GetDeleted

func (m *Directory) GetDeleted() bool

func (*Directory) GetDirectoryId

func (m *Directory) GetDirectoryId() string

func (*Directory) GetLog

func (m *Directory) GetLog() *trillian.Tree

func (*Directory) GetMap

func (m *Directory) GetMap() *trillian.Tree

func (*Directory) GetMaxInterval

func (m *Directory) GetMaxInterval() *duration.Duration

func (*Directory) GetMinInterval

func (m *Directory) GetMinInterval() *duration.Duration

func (*Directory) GetVrf

func (m *Directory) GetVrf() *keyspb.PublicKey

func (*Directory) ProtoMessage

func (*Directory) ProtoMessage()

func (*Directory) Reset

func (m *Directory) Reset()

func (*Directory) String

func (m *Directory) String() string

func (*Directory) XXX_DiscardUnknown

func (m *Directory) XXX_DiscardUnknown()

func (*Directory) XXX_Marshal

func (m *Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Directory) XXX_Merge

func (dst *Directory) XXX_Merge(src proto.Message)

func (*Directory) XXX_Size

func (m *Directory) XXX_Size() int

func (*Directory) XXX_Unmarshal

func (m *Directory) XXX_Unmarshal(b []byte) error

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 set of keys allowed to sign updates for this entry.
	AuthorizedKeys *tink_go_proto.Keyset `protobuf:"bytes,7,opt,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,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) Descriptor() ([]byte, []int)

func (*Entry) GetAuthorizedKeys

func (m *Entry) GetAuthorizedKeys() *tink_go_proto.Keyset

func (*Entry) GetCommitment

func (m *Entry) GetCommitment() []byte

func (*Entry) GetIndex

func (m *Entry) GetIndex() []byte

func (*Entry) GetPrevious

func (m *Entry) GetPrevious() []byte

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) String

func (m *Entry) String() string

func (*Entry) XXX_DiscardUnknown

func (m *Entry) XXX_DiscardUnknown()

func (*Entry) XXX_Marshal

func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entry) XXX_Merge

func (dst *Entry) XXX_Merge(src proto.Message)

func (*Entry) XXX_Size

func (m *Entry) XXX_Size() int

func (*Entry) XXX_Unmarshal

func (m *Entry) XXX_Unmarshal(b []byte) error

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 (dst *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 (dst *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 (dst *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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *GetLatestRevisionRequest) GetLastVerifiedTreeSize() int64

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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *GetRevisionRequest) GetLastVerifiedTreeSize() int64

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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *GetUserRequest) GetLastVerifiedTreeSize() int64

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 (dst *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 (dst *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 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)
	// 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)
	// 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 (dst *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 (dst *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.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// last_verified_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *ListEntryHistoryRequest) GetLastVerifiedTreeSize() int64

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 (dst *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 (dst *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 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 (dst *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 (dst *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_tree_size is the tree_size of the last log root the client
	// verified. Omitting this field will omit the log consistency proof from the
	// response.
	LastVerifiedTreeSize int64    `` /* 126-byte string literal not displayed */
	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) GetLastVerifiedTreeSize

func (m *ListUserRevisionsRequest) GetLastVerifiedTreeSize() int64

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 (dst *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 (dst *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) Descriptor() ([]byte, []int)

func (*LogRoot) GetLogConsistency

func (m *LogRoot) GetLogConsistency() [][]byte

func (*LogRoot) GetLogRoot

func (m *LogRoot) GetLogRoot() *trillian.SignedLogRoot

func (*LogRoot) ProtoMessage

func (*LogRoot) ProtoMessage()

func (*LogRoot) Reset

func (m *LogRoot) Reset()

func (*LogRoot) String

func (m *LogRoot) String() string

func (*LogRoot) XXX_DiscardUnknown

func (m *LogRoot) XXX_DiscardUnknown()

func (*LogRoot) XXX_Marshal

func (m *LogRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogRoot) XXX_Merge

func (dst *LogRoot) XXX_Merge(src proto.Message)

func (*LogRoot) XXX_Size

func (m *LogRoot) XXX_Size() int

func (*LogRoot) XXX_Unmarshal

func (m *LogRoot) 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) Descriptor() ([]byte, []int)

func (*MapLeaf) GetCommitted

func (m *MapLeaf) GetCommitted() *Committed

func (*MapLeaf) GetMapInclusion

func (m *MapLeaf) GetMapInclusion() *trillian.MapLeafInclusion

func (*MapLeaf) GetVrfProof

func (m *MapLeaf) GetVrfProof() []byte

func (*MapLeaf) ProtoMessage

func (*MapLeaf) ProtoMessage()

func (*MapLeaf) Reset

func (m *MapLeaf) Reset()

func (*MapLeaf) String

func (m *MapLeaf) String() string

func (*MapLeaf) XXX_DiscardUnknown

func (m *MapLeaf) XXX_DiscardUnknown()

func (*MapLeaf) XXX_Marshal

func (m *MapLeaf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapLeaf) XXX_Merge

func (dst *MapLeaf) XXX_Merge(src proto.Message)

func (*MapLeaf) XXX_Size

func (m *MapLeaf) XXX_Size() int

func (*MapLeaf) XXX_Unmarshal

func (m *MapLeaf) XXX_Unmarshal(b []byte) error

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 (dst *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) Descriptor() ([]byte, []int)

func (*MapRoot) GetLogInclusion

func (m *MapRoot) GetLogInclusion() [][]byte

func (*MapRoot) GetMapRoot

func (m *MapRoot) GetMapRoot() *trillian.SignedMapRoot

func (*MapRoot) ProtoMessage

func (*MapRoot) ProtoMessage()

func (*MapRoot) Reset

func (m *MapRoot) Reset()

func (*MapRoot) String

func (m *MapRoot) String() string

func (*MapRoot) XXX_DiscardUnknown

func (m *MapRoot) XXX_DiscardUnknown()

func (*MapRoot) XXX_Marshal

func (m *MapRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapRoot) XXX_Merge

func (dst *MapRoot) XXX_Merge(src proto.Message)

func (*MapRoot) XXX_Size

func (m *MapRoot) XXX_Size() int

func (*MapRoot) XXX_Unmarshal

func (m *MapRoot) XXX_Unmarshal(b []byte) error

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 (dst *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 (dst *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 (dst *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) Descriptor() ([]byte, []int)

func (*Revision) GetDirectoryId

func (m *Revision) GetDirectoryId() string

func (*Revision) GetLatestLogRoot

func (m *Revision) GetLatestLogRoot() *LogRoot

func (*Revision) GetMapRoot

func (m *Revision) GetMapRoot() *MapRoot

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) Reset

func (m *Revision) Reset()

func (*Revision) String

func (m *Revision) String() string

func (*Revision) XXX_DiscardUnknown

func (m *Revision) XXX_DiscardUnknown()

func (*Revision) XXX_Marshal

func (m *Revision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Revision) XXX_Merge

func (dst *Revision) XXX_Merge(src proto.Message)

func (*Revision) XXX_Size

func (m *Revision) XXX_Size() int

func (*Revision) XXX_Unmarshal

func (m *Revision) XXX_Unmarshal(b []byte) error

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 (dst *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 (dst *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 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 (dst *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL