public final class OCSProto extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OCSProto.CreateSkipchainsReply
CreateSkipchainsReply returns the skipchain-id of the OCS-skipchain
|
static interface |
OCSProto.CreateSkipchainsReplyOrBuilder |
static class |
OCSProto.CreateSkipchainsRequest
CreateSkipchainsRequest asks for setting up a new OCS-skipchain.
|
static interface |
OCSProto.CreateSkipchainsRequestOrBuilder |
static class |
OCSProto.DecryptKeyReply
DecryptKeyReply is sent back to the api with the key encrypted under the
reader's public key.
|
static interface |
OCSProto.DecryptKeyReplyOrBuilder |
static class |
OCSProto.DecryptKeyRequest
DecryptKeyRequest is sent to the service with the read-request.
|
static interface |
OCSProto.DecryptKeyRequestOrBuilder |
static class |
OCSProto.GetBunchReply
GetBunchReply returns the genesis blocks of all registered OCS.
|
static interface |
OCSProto.GetBunchReplyOrBuilder |
static class |
OCSProto.GetBunchRequest
GetBunchRequest asks for a list of bunches
|
static interface |
OCSProto.GetBunchRequestOrBuilder |
static class |
OCSProto.GetDarcPath
GetDarcPath returns the shortest path from the base darc to a darc
containing the identity.
|
static interface |
OCSProto.GetDarcPathOrBuilder |
static class |
OCSProto.GetDarcPathReply
GetDarcPathReply returns the shortest path to prove that the identity
can sign.
|
static interface |
OCSProto.GetDarcPathReplyOrBuilder |
static class |
OCSProto.GetLatestDarc
GetLatestDarc returns the path to the latest darc.
|
static interface |
OCSProto.GetLatestDarcOrBuilder |
static class |
OCSProto.GetLatestDarcReply
GetLatestDarcReply returns a list of all darcs, starting from
the one requested.
|
static interface |
OCSProto.GetLatestDarcReplyOrBuilder |
static class |
OCSProto.GetReadRequests
GetReadRequests asks for a list of requests
|
static interface |
OCSProto.GetReadRequestsOrBuilder |
static class |
OCSProto.GetReadRequestsReply
GetReadRequestsReply returns the requests
|
static interface |
OCSProto.GetReadRequestsReplyOrBuilder |
static class |
OCSProto.Read
Read stores a read-request which is the secret encrypted under the
pseudonym's public key.
|
static class |
OCSProto.ReadDoc
ReadDoc represents one read-request by a reader.
|
static interface |
OCSProto.ReadDocOrBuilder |
static interface |
OCSProto.ReadOrBuilder |
static class |
OCSProto.ReadReply
ReadReply is the added skipblock, if successful.
|
static interface |
OCSProto.ReadReplyOrBuilder |
static class |
OCSProto.ReadRequest
ReadRequest asks the OCS-skipchain to allow a reader to access a document.
|
static interface |
OCSProto.ReadRequestOrBuilder |
static class |
OCSProto.SharedPublicReply
SharedPublicReply sends back the shared public key.
|
static interface |
OCSProto.SharedPublicReplyOrBuilder |
static class |
OCSProto.SharedPublicRequest
SharedPublicRequest asks for the shared public key of the corresponding
skipchain-ID.
|
static interface |
OCSProto.SharedPublicRequestOrBuilder |
static class |
OCSProto.Transaction
Transaction holds either:
- a read request
- a write
- a key-update
- a write and a key-update
Additionally, it can hold a slice of bytes with any data that the user wants to
add to bind to that transaction.
|
static interface |
OCSProto.TransactionOrBuilder |
static class |
OCSProto.UpdateDarc
UpdateDarc allows to set up new accounts or edit existing
read-rights in documents.
|
static interface |
OCSProto.UpdateDarcOrBuilder |
static class |
OCSProto.UpdateDarcReply
UpdateDarcReply contains the skipblock with the account stored
in it.
|
static interface |
OCSProto.UpdateDarcReplyOrBuilder |
static class |
OCSProto.Write
Write stores the data and the encrypted secret
|
static interface |
OCSProto.WriteOrBuilder |
static class |
OCSProto.WriteReply
WriteReply returns the created skipblock which is the write-id
|
static interface |
OCSProto.WriteReplyOrBuilder |
static class |
OCSProto.WriteRequest
WriteRequest asks the OCS-skipchain to store data on the skipchain.
|
static interface |
OCSProto.WriteRequestOrBuilder |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) |
static void |
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) |
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
Copyright © 2018. All rights reserved.