public static final class Keyset.Key extends com.google.protobuf.GeneratedMessageLite<Keyset.Key,Keyset.Key.Builder> 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.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_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 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static Keyset.Key |
getDefaultInstance() |
KeyData |
getKeyData()
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.
|
KeyStatusType |
getStatus()
.google.crypto.tink.KeyStatusType status = 2; |
int |
getStatusValue()
.google.crypto.tink.KeyStatusType status = 2; |
boolean |
hasKeyData()
Contains the actual, instantiation specific key proto.
|
static Keyset.Key.Builder |
newBuilder() |
static Keyset.Key.Builder |
newBuilder(Keyset.Key prototype) |
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() |
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_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
public 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 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 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 static Keyset.Key.Builder newBuilder()
public static Keyset.Key.Builder newBuilder(Keyset.Key prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Keyset.Key,Keyset.Key.Builder>public static Keyset.Key getDefaultInstance()
public static com.google.protobuf.Parser<Keyset.Key> parser()