public static final class Calypso.Write.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder> implements Calypso.WriteOrBuilder
Write is the data stored in a write instance. It stores a reference to the LTS used and the encrypted secret.Protobuf type
calypso.Write| Modifier and Type | Method and Description |
|---|---|
Calypso.Write.Builder |
addAllCs(Iterable<? extends com.google.protobuf.ByteString> values)
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
Calypso.Write.Builder |
addCs(com.google.protobuf.ByteString value)
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
Calypso.Write.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Calypso.Write |
build() |
Calypso.Write |
buildPartial() |
Calypso.Write.Builder |
clear() |
Calypso.Write.Builder |
clearCs()
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
Calypso.Write.Builder |
clearData()
Data should be encrypted by the application under the symmetric key in U and Cs
|
Calypso.Write.Builder |
clearE()
E is the non-interactive challenge as scalar
|
Calypso.Write.Builder |
clearExtradata()
ExtraData is clear text and application-specific
|
Calypso.Write.Builder |
clearF()
f is the proof - written in uppercase here so it is an exported field,
but in the OCS-paper it's lowercase.
|
Calypso.Write.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Calypso.Write.Builder |
clearLtsid()
LTSID points to the identity of the lts group
|
Calypso.Write.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Calypso.Write.Builder |
clearU()
U is the encrypted random value for the ElGamal encryption
|
Calypso.Write.Builder |
clearUbar()
Ubar, E and f will be used by the server to verify the writer did
correctly encrypt the key.
|
Calypso.Write.Builder |
clone() |
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
|
Calypso.Write |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.ByteString |
getLtsid()
LTSID points to the identity of the lts group
|
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 |
hasLtsid()
LTSID points to the identity of the lts group
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Calypso.Write.Builder |
mergeFrom(Calypso.Write other) |
Calypso.Write.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Calypso.Write.Builder |
mergeFrom(com.google.protobuf.Message other) |
Calypso.Write.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Calypso.Write.Builder |
setCs(int index,
com.google.protobuf.ByteString value)
Cs are the ElGamal parts for the symmetric key material (might
also contain an IV)
|
Calypso.Write.Builder |
setData(com.google.protobuf.ByteString value)
Data should be encrypted by the application under the symmetric key in U and Cs
|
Calypso.Write.Builder |
setE(com.google.protobuf.ByteString value)
E is the non-interactive challenge as scalar
|
Calypso.Write.Builder |
setExtradata(com.google.protobuf.ByteString value)
ExtraData is clear text and application-specific
|
Calypso.Write.Builder |
setF(com.google.protobuf.ByteString value)
f is the proof - written in uppercase here so it is an exported field,
but in the OCS-paper it's lowercase.
|
Calypso.Write.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Calypso.Write.Builder |
setLtsid(com.google.protobuf.ByteString value)
LTSID points to the identity of the lts group
|
Calypso.Write.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Calypso.Write.Builder |
setU(com.google.protobuf.ByteString value)
U is the encrypted random value for the ElGamal encryption
|
Calypso.Write.Builder |
setUbar(com.google.protobuf.ByteString value)
Ubar, E and f will be used by the server to verify the writer did
correctly encrypt the key.
|
Calypso.Write.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Calypso.Write build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Calypso.Write buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Calypso.Write.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Calypso.Write.Builder>public Calypso.Write.Builder mergeFrom(Calypso.Write other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public Calypso.Write.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Calypso.Write.Builder>IOExceptionpublic boolean hasData()
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;hasData in interface Calypso.WriteOrBuilderpublic com.google.protobuf.ByteString getData()
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;getData in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setData(com.google.protobuf.ByteString value)
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;public Calypso.Write.Builder clearData()
Data should be encrypted by the application under the symmetric key in U and Cs
required bytes data = 1;public boolean hasU()
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;hasU in interface Calypso.WriteOrBuilderpublic com.google.protobuf.ByteString getU()
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;getU in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setU(com.google.protobuf.ByteString value)
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;public Calypso.Write.Builder clearU()
U is the encrypted random value for the ElGamal encryption
required bytes u = 2;public 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;hasUbar in interface Calypso.WriteOrBuilderpublic 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;getUbar in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setUbar(com.google.protobuf.ByteString value)
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;public Calypso.Write.Builder clearUbar()
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;public boolean hasE()
E is the non-interactive challenge as scalar
required bytes e = 4;hasE in interface Calypso.WriteOrBuilderpublic com.google.protobuf.ByteString getE()
E is the non-interactive challenge as scalar
required bytes e = 4;getE in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setE(com.google.protobuf.ByteString value)
E is the non-interactive challenge as scalar
required bytes e = 4;public Calypso.Write.Builder clearE()
E is the non-interactive challenge as scalar
required bytes e = 4;public 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;hasF in interface Calypso.WriteOrBuilderpublic 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;getF in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setF(com.google.protobuf.ByteString value)
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;public Calypso.Write.Builder clearF()
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;public 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;getCsList in interface Calypso.WriteOrBuilderpublic int getCsCount()
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;getCsCount in interface Calypso.WriteOrBuilderpublic 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;getCs in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setCs(int index, com.google.protobuf.ByteString value)
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;public Calypso.Write.Builder addCs(com.google.protobuf.ByteString value)
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;public Calypso.Write.Builder addAllCs(Iterable<? extends com.google.protobuf.ByteString> values)
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;public Calypso.Write.Builder clearCs()
Cs are the ElGamal parts for the symmetric key material (might also contain an IV)
repeated bytes cs = 6;public boolean hasExtradata()
ExtraData is clear text and application-specific
optional bytes extradata = 7;hasExtradata in interface Calypso.WriteOrBuilderpublic com.google.protobuf.ByteString getExtradata()
ExtraData is clear text and application-specific
optional bytes extradata = 7;getExtradata in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setExtradata(com.google.protobuf.ByteString value)
ExtraData is clear text and application-specific
optional bytes extradata = 7;public Calypso.Write.Builder clearExtradata()
ExtraData is clear text and application-specific
optional bytes extradata = 7;public boolean hasLtsid()
LTSID points to the identity of the lts group
required bytes ltsid = 8;hasLtsid in interface Calypso.WriteOrBuilderpublic com.google.protobuf.ByteString getLtsid()
LTSID points to the identity of the lts group
required bytes ltsid = 8;getLtsid in interface Calypso.WriteOrBuilderpublic Calypso.Write.Builder setLtsid(com.google.protobuf.ByteString value)
LTSID points to the identity of the lts group
required bytes ltsid = 8;public Calypso.Write.Builder clearLtsid()
LTSID points to the identity of the lts group
required bytes ltsid = 8;public final Calypso.Write.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>public final Calypso.Write.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Calypso.Write.Builder>Copyright © 2018. All rights reserved.