public static final class Keyset.Key extends com.google.protobuf.GeneratedMessageV3 implements Keyset.KeyOrBuilder
google.crypto.tink.Keyset.Key| Modifier and Type | Class and Description |
|---|---|
static class |
Keyset.Key.Builder
Protobuf type
google.crypto.tink.Keyset.Key |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_DATA_FIELD_NUMBER |
static int |
KEY_ID_FIELD_NUMBER |
static int |
OUTPUT_PREFIX_TYPE_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Keyset.Key |
getDefaultInstance() |
Keyset.Key |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeyData |
getKeyData()
Contains the actual, instantiation specific key proto.
|
KeyDataOrBuilder |
getKeyDataOrBuilder()
Contains the actual, instantiation specific key proto.
|
int |
getKeyId()
Identifies a key within a keyset, is a part of metadata
of a ciphertext/signature.
|
OutputPrefixType |
getOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key.
|
int |
getOutputPrefixTypeValue()
Determines the prefix of the ciphertexts/signatures produced by this key.
|
com.google.protobuf.Parser<Keyset.Key> |
getParserForType() |
int |
getSerializedSize() |
KeyStatusType |
getStatus()
.google.crypto.tink.KeyStatusType status = 2; |
int |
getStatusValue()
.google.crypto.tink.KeyStatusType status = 2; |
int |
hashCode() |
boolean |
hasKeyData()
Contains the actual, instantiation specific key proto.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Keyset.Key.Builder |
newBuilder() |
static Keyset.Key.Builder |
newBuilder(Keyset.Key prototype) |
Keyset.Key.Builder |
newBuilderForType() |
protected Keyset.Key.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Keyset.Key |
parseDelimitedFrom(InputStream input) |
static Keyset.Key |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Keyset.Key |
parseFrom(byte[] data) |
static Keyset.Key |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Keyset.Key |
parseFrom(ByteBuffer data) |
static Keyset.Key |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Keyset.Key |
parseFrom(com.google.protobuf.ByteString data) |
static Keyset.Key |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Keyset.Key |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Keyset.Key |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Keyset.Key |
parseFrom(InputStream input) |
static Keyset.Key |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Keyset.Key> |
parser() |
Keyset.Key.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KEY_DATA_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
public static final int OUTPUT_PREFIX_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasKeyData()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;hasKeyData in interface Keyset.KeyOrBuilderpublic KeyData getKeyData()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;getKeyData in interface Keyset.KeyOrBuilderpublic KeyDataOrBuilder getKeyDataOrBuilder()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;getKeyDataOrBuilder in interface Keyset.KeyOrBuilderpublic int getStatusValue()
.google.crypto.tink.KeyStatusType status = 2;getStatusValue in interface Keyset.KeyOrBuilderpublic KeyStatusType getStatus()
.google.crypto.tink.KeyStatusType status = 2;getStatus in interface Keyset.KeyOrBuilderpublic int getKeyId()
Identifies a key within a keyset, is a part of metadata of a ciphertext/signature.
uint32 key_id = 3;getKeyId in interface Keyset.KeyOrBuilderpublic int getOutputPrefixTypeValue()
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixTypeValue in interface Keyset.KeyOrBuilderpublic OutputPrefixType getOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixType in interface Keyset.KeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Keyset.Key parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Keyset.Key parseFrom(InputStream input) throws IOException
IOExceptionpublic static Keyset.Key parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Keyset.Key parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Keyset.Key parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Keyset.Key parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Keyset.Key parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Keyset.Key.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Keyset.Key.Builder newBuilder()
public static Keyset.Key.Builder newBuilder(Keyset.Key prototype)
public Keyset.Key.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Keyset.Key.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Keyset.Key getDefaultInstance()
public static com.google.protobuf.Parser<Keyset.Key> parser()
public com.google.protobuf.Parser<Keyset.Key> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Keyset.Key getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder