Is there a way to add security layer to protocol buffer if I'm writing
my proto objects to https output stream? In java we have sealed
objects and we can have signature attached to it to make sure objects
are not tampered on the receiving end. Is there something similar in
protocol buffer as well?
/21 Prakash Rao prakashrao1...@gmail.com:
Is there a way to add security layer to protocol buffer if I'm writing
my proto objects to https output stream? In java we have sealed
objects and we can have signature attached to it to make sure objects
are not tampered on the receiving end
LAVERDIÈRE
Perseverance must finish its work so that you may be mature and
complete, not lacking anything. -James 1:4
mlaverd.theunixplace.com/blog
/\
\ / ASCII Ribbon Campaign
X against HTML e-mail
/ \
2010/7/22 Prakash Rao prakashrao1...@gmail.com:
Thanks for the response
Perseverance must finish its work so that you may be mature and
complete, not lacking anything. -James 1:4
mlaverd.theunixplace.com/blog
/\
\ / ASCII Ribbon Campaign
X against HTML e-mail
/ \
2010/7/22 Prakash Rao prakashrao1...@gmail.com:
Thanks for the response...
I
Hi,
I don't see Google providing protocol buffer jar file (for java
implementation). I created the jar file from source using mvn. Usually
for open source projects there would be src bin and here I see only
the source. Is protocol buffer jar file available in some place? I
just want to avoid
Hi,
Is there a way to automate java stub creation from .proto files using
ant task in all platforms? And can this be done without using
protoc.exe, which is platform specific?
I saw the below ant task and it uses protoc.exe, which is only for
windows.
exec executable=protoc
arg
I'm also looking for proper ways to set initial capacity for my
repeatable fields (in protobuf java 2.3.0). Is this possible without
hacking the generated code?
Regards,
Prakash
On Jul 1, 3:09 am, Josh Hartman atomicfo...@gmail.com wrote:
Good catch. This was the problem and the fix results in
thanks. This really helps :-)
Regards,
Prakash
On Aug 11, 2:43 am, Kenton Varda ken...@google.com wrote:
On Tue, Aug 10, 2010 at 8:34 AM, Prakash Rao prakashrao1...@gmail.comwrote:
I saw the below ant task and it uses protoc.exe, which is only for
windows.
protoc runs on all platforms
Hi,
I'm trying to find out ways to set initial capacity for my repeatable
fields (proto java 2.3.0). I looked at the generated code and it
creates an ArrayList but without initial capacity defined. Is there a
way to specifiy the initial capacity without hacking the generated
code?
Regards,
Hi,
I was just looking at CodedInputStream class and there are APIs to
write primitives with or without tag (for example, writeString
writeStringNoTag). I thought if we set unique tags for multiple
parameters then we would be able to retrieve these parameters using
tag numbers specified using
and benchmark the code for using apache primitives to
store the repeated primitive fields. I'll try to finish it this week and
post it to the mailing list.
Thanks,
Josh H
On Wed, Aug 11, 2010 at 7:40 AM, Prakash Rao prakashrao1...@gmail.comwrote:
I'm also looking for proper ways to set
Josh Kenton.
Regards,
Prakash
On Aug 11, 2:43 am, Kenton Varda ken...@google.com wrote:
On Tue, Aug 10, 2010 at 8:34 AM, Prakash Rao prakashrao1...@gmail.comwrote:
I saw the below ant task and it uses protoc.exe, which is only for
windows.
protoc runs on all platforms, not just windows
.
However, I would suggest just using a message. You may find that over time
those two or three parameters will grow to the point that maintaining this
is unwieldy.
On Wed, Aug 11, 2010 at 10:55 PM, Prakash Rao prakashrao1...@gmail.comwrote:
I don't have .proto message created for these. Most
, or you're using the
CodedOutputStream to write your own metadata besides the message itself
(e.g. delimiters).
On Mon, Aug 16, 2010 at 8:02 AM, Prakash Rao prakashrao1...@gmail.comwrote:
Hi,
I'm new to PB and would like to know whether it is CodedInputStream
CodedOutputStream which
On Aug 18, 11:59 pm, Jason Hsueh jas...@google.com wrote:
On Wed, Aug 18, 2010 at 6:57 AM, Prakash Rao prakashrao1...@gmail.comwrote:
Thanks for your response. I wanted to whether it's CodedInputStream
CodedOutputStream which does encoding of data in PB?.
Yes, these classes handle the PB wire
then i assume it's a
null response.
Thanks for your response.
Regards,
Prakash
On Aug 16, 8:46 pm, Evan Jones ev...@mit.edu wrote:
On Aug 16, 2010, at 10:56 , Prakash Rao wrote:
I'm just looking for a easy way to write null response if data is not
present in DB and write proto message object
Protocol buffer works on serialization/deserialization and you can
write the bytes to any outputstream and read it from any inputstream.
If you have two machines have a webserver hosted, you can get a
outputstream from http url connection (which is pointing to the
destination) in the source
Protocol buffer is meant only for serialization de-serialization. I
believe for file attachment you need to have some other implementation
such as web services (SAAJ) or http mime attachment. And as Smith said
protocol buffer doesn't provide any built in encryption and if you
need one, you need
18 matches
Mail list logo