public final class AesGcmSivKeyFormat extends com.google.protobuf.GeneratedMessageLite<AesGcmSivKeyFormat,AesGcmSivKeyFormat.Builder> implements AesGcmSivKeyFormatOrBuilder
The only allowed IV size is 12 bytes and tag size is 16 bytes. Thus, accept no params.Protobuf type
google.crypto.tink.AesGcmSivKeyFormat| Modifier and Type | Class and Description |
|---|---|
static class |
AesGcmSivKeyFormat.Builder
The only allowed IV size is 12 bytes and tag size is 16 bytes.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_SIZE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static AesGcmSivKeyFormat |
getDefaultInstance() |
int |
getKeySize()
uint32 key_size = 2; |
int |
getVersion()
uint32 version = 1; |
static AesGcmSivKeyFormat.Builder |
newBuilder() |
static AesGcmSivKeyFormat.Builder |
newBuilder(AesGcmSivKeyFormat prototype) |
static AesGcmSivKeyFormat |
parseDelimitedFrom(InputStream input) |
static AesGcmSivKeyFormat |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesGcmSivKeyFormat |
parseFrom(byte[] data) |
static AesGcmSivKeyFormat |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesGcmSivKeyFormat |
parseFrom(ByteBuffer data) |
static AesGcmSivKeyFormat |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesGcmSivKeyFormat |
parseFrom(com.google.protobuf.ByteString data) |
static AesGcmSivKeyFormat |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesGcmSivKeyFormat |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AesGcmSivKeyFormat |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesGcmSivKeyFormat |
parseFrom(InputStream input) |
static AesGcmSivKeyFormat |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AesGcmSivKeyFormat> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEY_SIZE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public int getKeySize()
uint32 key_size = 2;getKeySize in interface AesGcmSivKeyFormatOrBuilderpublic int getVersion()
uint32 version = 1;getVersion in interface AesGcmSivKeyFormatOrBuilderpublic static AesGcmSivKeyFormat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesGcmSivKeyFormat parseFrom(InputStream input) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesGcmSivKeyFormat.Builder newBuilder()
public static AesGcmSivKeyFormat.Builder newBuilder(AesGcmSivKeyFormat prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<AesGcmSivKeyFormat,AesGcmSivKeyFormat.Builder>public static AesGcmSivKeyFormat getDefaultInstance()
public static com.google.protobuf.Parser<AesGcmSivKeyFormat> parser()