public final class HpkeParams extends com.google.protobuf.GeneratedMessage implements HpkeParamsOrBuilder
google.crypto.tink.HpkeParams| Modifier and Type | Class and Description |
|---|---|
static class |
HpkeParams.Builder
Protobuf type
google.crypto.tink.HpkeParams |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AEAD_FIELD_NUMBER |
static int |
KDF_FIELD_NUMBER |
static int |
KEM_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HpkeAead |
getAead()
.google.crypto.tink.HpkeAead aead = 3; |
int |
getAeadValue()
.google.crypto.tink.HpkeAead aead = 3; |
static HpkeParams |
getDefaultInstance() |
HpkeParams |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HpkeKdf |
getKdf()
.google.crypto.tink.HpkeKdf kdf = 2; |
int |
getKdfValue()
.google.crypto.tink.HpkeKdf kdf = 2; |
HpkeKem |
getKem()
.google.crypto.tink.HpkeKem kem = 1; |
int |
getKemValue()
.google.crypto.tink.HpkeKem kem = 1; |
com.google.protobuf.Parser<HpkeParams> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HpkeParams.Builder |
newBuilder() |
static HpkeParams.Builder |
newBuilder(HpkeParams prototype) |
HpkeParams.Builder |
newBuilderForType() |
protected HpkeParams.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static HpkeParams |
parseDelimitedFrom(InputStream input) |
static HpkeParams |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HpkeParams |
parseFrom(byte[] data) |
static HpkeParams |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HpkeParams |
parseFrom(ByteBuffer data) |
static HpkeParams |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HpkeParams |
parseFrom(com.google.protobuf.ByteString data) |
static HpkeParams |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HpkeParams |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HpkeParams |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HpkeParams |
parseFrom(InputStream input) |
static HpkeParams |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HpkeParams> |
parser() |
HpkeParams.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, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KEM_FIELD_NUMBER
public static final int KDF_FIELD_NUMBER
public static final int AEAD_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic int getKemValue()
.google.crypto.tink.HpkeKem kem = 1;getKemValue in interface HpkeParamsOrBuilderpublic HpkeKem getKem()
.google.crypto.tink.HpkeKem kem = 1;getKem in interface HpkeParamsOrBuilderpublic int getKdfValue()
.google.crypto.tink.HpkeKdf kdf = 2;getKdfValue in interface HpkeParamsOrBuilderpublic HpkeKdf getKdf()
.google.crypto.tink.HpkeKdf kdf = 2;getKdf in interface HpkeParamsOrBuilderpublic int getAeadValue()
.google.crypto.tink.HpkeAead aead = 3;getAeadValue in interface HpkeParamsOrBuilderpublic HpkeAead getAead()
.google.crypto.tink.HpkeAead aead = 3;getAead in interface HpkeParamsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 HpkeParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HpkeParams parseFrom(InputStream input) throws IOException
IOExceptionpublic static HpkeParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HpkeParams parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HpkeParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HpkeParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HpkeParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HpkeParams.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HpkeParams.Builder newBuilder()
public static HpkeParams.Builder newBuilder(HpkeParams prototype)
public HpkeParams.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HpkeParams.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static HpkeParams getDefaultInstance()
public static com.google.protobuf.Parser<HpkeParams> parser()
public com.google.protobuf.Parser<HpkeParams> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic HpkeParams getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder