public static interface OCSProto.WriteOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getCs(int index)
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
int |
getCsCount()
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
List<com.google.protobuf.ByteString> |
getCsList()
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
com.google.protobuf.ByteString |
getData()
Data should be encrypted by the application under the symmetric key in U and Cs
|
com.google.protobuf.ByteString |
getE()
E is the non-interactive challenge as scalar
|
com.google.protobuf.ByteString |
getExtradata()
ExtraData is clear text and application-specific
|
com.google.protobuf.ByteString |
getF()
f is the proof - written in uppercase here so it is an exported field,
but in the OCS-paper it's lowercase.
|
DarcOCSProto.Darc |
getReader()
Reader points to a darc where the reading-rights are stored
|
DarcOCSProto.DarcOrBuilder |
getReaderOrBuilder()
Reader points to a darc where the reading-rights are stored
|
DarcOCSProto.Signature |
getSignature()
Signature must come from a valid writer stored in the admin darc of the OCS
skipchain.
|
DarcOCSProto.SignatureOrBuilder |
getSignatureOrBuilder()
Signature must come from a valid writer stored in the admin darc of the OCS
skipchain.
|
com.google.protobuf.ByteString |
getU()
U is the encrypted random value for the ElGamal encryption
|
com.google.protobuf.ByteString |
getUbar()
Ubar, E and f will be used by the server to verify the writer did
correctly encrypt the key.
|
boolean |
hasData()
Data should be encrypted by the application under the symmetric key in U and Cs
|
boolean |
hasE()
E is the non-interactive challenge as scalar
|
boolean |
hasExtradata()
ExtraData is clear text and application-specific
|
boolean |
hasF()
f is the proof - written in uppercase here so it is an exported field,
but in the OCS-paper it's lowercase.
|
boolean |
hasReader()
Reader points to a darc where the reading-rights are stored
|
boolean |
hasSignature()
Signature must come from a valid writer stored in the admin darc of the OCS
skipchain.
|
boolean |
hasU()
U is the encrypted random value for the ElGamal encryption
|
boolean |
hasUbar()
Ubar, E and f will be used by the server to verify the writer did
correctly encrypt the key.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasData()
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;com.google.protobuf.ByteString getData()
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;boolean hasU()
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;com.google.protobuf.ByteString getU()
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;boolean hasUbar()
Ubar, E and f will be used by the server to verify the writer did correctly encrypt the key. It binds the policy (the darc) with the cyphertext. Ubar is used for the log-equality proof
required bytes ubar = 3;com.google.protobuf.ByteString getUbar()
Ubar, E and f will be used by the server to verify the writer did correctly encrypt the key. It binds the policy (the darc) with the cyphertext. Ubar is used for the log-equality proof
required bytes ubar = 3;boolean hasE()
E is the non-interactive challenge as scalar
required bytes e = 4;com.google.protobuf.ByteString getE()
E is the non-interactive challenge as scalar
required bytes e = 4;boolean hasF()
f is the proof - written in uppercase here so it is an exported field, but in the OCS-paper it's lowercase.
required bytes f = 5;com.google.protobuf.ByteString getF()
f is the proof - written in uppercase here so it is an exported field, but in the OCS-paper it's lowercase.
required bytes f = 5;List<com.google.protobuf.ByteString> getCsList()
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;int getCsCount()
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;com.google.protobuf.ByteString getCs(int index)
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;boolean hasExtradata()
ExtraData is clear text and application-specific
optional bytes extradata = 7;com.google.protobuf.ByteString getExtradata()
ExtraData is clear text and application-specific
optional bytes extradata = 7;boolean hasReader()
Reader points to a darc where the reading-rights are stored
required .darcOCS.Darc reader = 8;DarcOCSProto.Darc getReader()
Reader points to a darc where the reading-rights are stored
required .darcOCS.Darc reader = 8;DarcOCSProto.DarcOrBuilder getReaderOrBuilder()
Reader points to a darc where the reading-rights are stored
required .darcOCS.Darc reader = 8;boolean hasSignature()
Signature must come from a valid writer stored in the admin darc of the OCS skipchain. For backwards-compatibility, this is an optional field. But for every new write-request, it must be set.
optional .darcOCS.Signature signature = 9;DarcOCSProto.Signature getSignature()
Signature must come from a valid writer stored in the admin darc of the OCS skipchain. For backwards-compatibility, this is an optional field. But for every new write-request, it must be set.
optional .darcOCS.Signature signature = 9;DarcOCSProto.SignatureOrBuilder getSignatureOrBuilder()
Signature must come from a valid writer stored in the admin darc of the OCS skipchain. For backwards-compatibility, this is an optional field. But for every new write-request, it must be set.
optional .darcOCS.Signature signature = 9;Copyright © 2018. All rights reserved.