public final class ChaCha20Poly1305Key extends com.google.protobuf.GeneratedMessageLite<ChaCha20Poly1305Key,ChaCha20Poly1305Key.Builder> implements ChaCha20Poly1305KeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.ChaCha20Poly1305. This key type actually implements ChaCha20Poly1305 as described at https://tools.ietf.org/html/rfc7539#section-2.8.Protobuf type
google.crypto.tink.ChaCha20Poly1305Key| Modifier and Type | Class and Description |
|---|---|
static class |
ChaCha20Poly1305Key.Builder
key_type: type.googleapis.com/google.crypto.tink.ChaCha20Poly1305.
|
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_VALUE_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 ChaCha20Poly1305Key |
getDefaultInstance() |
com.google.protobuf.ByteString |
getKeyValue()
bytes key_value = 2; |
int |
getVersion()
uint32 version = 1; |
static ChaCha20Poly1305Key.Builder |
newBuilder() |
static ChaCha20Poly1305Key.Builder |
newBuilder(ChaCha20Poly1305Key prototype) |
static ChaCha20Poly1305Key |
parseDelimitedFrom(InputStream input) |
static ChaCha20Poly1305Key |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaCha20Poly1305Key |
parseFrom(byte[] data) |
static ChaCha20Poly1305Key |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaCha20Poly1305Key |
parseFrom(ByteBuffer data) |
static ChaCha20Poly1305Key |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaCha20Poly1305Key |
parseFrom(com.google.protobuf.ByteString data) |
static ChaCha20Poly1305Key |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaCha20Poly1305Key |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaCha20Poly1305Key |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaCha20Poly1305Key |
parseFrom(InputStream input) |
static ChaCha20Poly1305Key |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaCha20Poly1305Key> |
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 VERSION_FIELD_NUMBER
public static final int KEY_VALUE_FIELD_NUMBER
public int getVersion()
uint32 version = 1;getVersion in interface ChaCha20Poly1305KeyOrBuilderpublic com.google.protobuf.ByteString getKeyValue()
bytes key_value = 2;getKeyValue in interface ChaCha20Poly1305KeyOrBuilderpublic static ChaCha20Poly1305Key parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChaCha20Poly1305Key parseFrom(InputStream input) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChaCha20Poly1305Key.Builder newBuilder()
public static ChaCha20Poly1305Key.Builder newBuilder(ChaCha20Poly1305Key prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ChaCha20Poly1305Key,ChaCha20Poly1305Key.Builder>public static ChaCha20Poly1305Key getDefaultInstance()
public static com.google.protobuf.Parser<ChaCha20Poly1305Key> parser()