public final class EncryptedKeyset extends com.google.protobuf.GeneratedMessageLite<EncryptedKeyset,EncryptedKeyset.Builder> implements EncryptedKeysetOrBuilder
Represents a keyset that is encrypted with a master key.Protobuf type
google.crypto.tink.EncryptedKeyset| Modifier and Type | Class and Description |
|---|---|
static class |
EncryptedKeyset.Builder
Represents a keyset that is encrypted with a master 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 |
ENCRYPTED_KEYSET_FIELD_NUMBER |
static int |
KEYSET_INFO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static EncryptedKeyset |
getDefaultInstance() |
com.google.protobuf.ByteString |
getEncryptedKeyset()
Required.
|
KeysetInfo |
getKeysetInfo()
Optional.
|
boolean |
hasKeysetInfo()
Optional.
|
static EncryptedKeyset.Builder |
newBuilder() |
static EncryptedKeyset.Builder |
newBuilder(EncryptedKeyset prototype) |
static EncryptedKeyset |
parseDelimitedFrom(InputStream input) |
static EncryptedKeyset |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EncryptedKeyset |
parseFrom(byte[] data) |
static EncryptedKeyset |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EncryptedKeyset |
parseFrom(ByteBuffer data) |
static EncryptedKeyset |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EncryptedKeyset |
parseFrom(com.google.protobuf.ByteString data) |
static EncryptedKeyset |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EncryptedKeyset |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EncryptedKeyset |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EncryptedKeyset |
parseFrom(InputStream input) |
static EncryptedKeyset |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EncryptedKeyset> |
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 ENCRYPTED_KEYSET_FIELD_NUMBER
public static final int KEYSET_INFO_FIELD_NUMBER
public com.google.protobuf.ByteString getEncryptedKeyset()
Required.
bytes encrypted_keyset = 2;getEncryptedKeyset in interface EncryptedKeysetOrBuilderpublic boolean hasKeysetInfo()
Optional.
.google.crypto.tink.KeysetInfo keyset_info = 3;hasKeysetInfo in interface EncryptedKeysetOrBuilderpublic KeysetInfo getKeysetInfo()
Optional.
.google.crypto.tink.KeysetInfo keyset_info = 3;getKeysetInfo in interface EncryptedKeysetOrBuilderpublic static EncryptedKeyset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EncryptedKeyset parseFrom(InputStream input) throws IOException
IOExceptionpublic static EncryptedKeyset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EncryptedKeyset parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EncryptedKeyset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EncryptedKeyset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EncryptedKeyset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EncryptedKeyset.Builder newBuilder()
public static EncryptedKeyset.Builder newBuilder(EncryptedKeyset prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EncryptedKeyset,EncryptedKeyset.Builder>public static EncryptedKeyset getDefaultInstance()
public static com.google.protobuf.Parser<EncryptedKeyset> parser()