Add proto definitions for (AES) KeyVersion.

Also removing placeholders, since now we have a complete set of code, tests and protos.
This is a string identifying the KeyVersion. So for AESKeyVersion, it would
just be "AES". This is so that the storage system can pass the proto
message to the correct KeyVersion subclass.

Andrew suggested an enum, but I'm thinking a string might be better for
debugging (e.g. we receive an unknown KeyVersion). Thoughts?

On Saturday, July 5, 2014, Shawn Willden <notifications@github.com> wrote:

> In protos/key_version_proto.proto:
>
> > @@ -0,0 +1,67 @@
> > +syntax = "proto2";
> > +
> > +option java_package = "com.google.k2crypto.keyversions";
> > +
> > +package com.google.k2crypto.keyversions;
> > +
> > +// Container for a serialized KeyVersion
> > +message KeyVersionData {
> > +  extensions 10000 to max;
> > +
> > +  // String uniquely identifying the key version type
> > +  required string type = 1;
>
> What is the type?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/google/K2/pull/20/files#r14572330>.
>