public final class AesCtrHmacStreamingParams extends com.google.protobuf.GeneratedMessageLite<AesCtrHmacStreamingParams,AesCtrHmacStreamingParams.Builder> implements AesCtrHmacStreamingParamsOrBuilder
google.crypto.tink.AesCtrHmacStreamingParams| Modifier and Type | Class and Description |
|---|---|
static class |
AesCtrHmacStreamingParams.Builder
Protobuf type
google.crypto.tink.AesCtrHmacStreamingParams |
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 |
CIPHERTEXT_SEGMENT_SIZE_FIELD_NUMBER |
static int |
DERIVED_KEY_SIZE_FIELD_NUMBER |
static int |
HKDF_HASH_TYPE_FIELD_NUMBER |
static int |
HMAC_PARAMS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
int |
getCiphertextSegmentSize()
uint32 ciphertext_segment_size = 1; |
static AesCtrHmacStreamingParams |
getDefaultInstance() |
int |
getDerivedKeySize()
size of AES-CTR keys derived for each segment
|
HashType |
getHkdfHashType()
hash function for key derivation via HKDF
|
int |
getHkdfHashTypeValue()
hash function for key derivation via HKDF
|
HmacParams |
getHmacParams()
params for authentication tags
|
boolean |
hasHmacParams()
params for authentication tags
|
static AesCtrHmacStreamingParams.Builder |
newBuilder() |
static AesCtrHmacStreamingParams.Builder |
newBuilder(AesCtrHmacStreamingParams prototype) |
static AesCtrHmacStreamingParams |
parseDelimitedFrom(InputStream input) |
static AesCtrHmacStreamingParams |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesCtrHmacStreamingParams |
parseFrom(byte[] data) |
static AesCtrHmacStreamingParams |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesCtrHmacStreamingParams |
parseFrom(ByteBuffer data) |
static AesCtrHmacStreamingParams |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesCtrHmacStreamingParams |
parseFrom(com.google.protobuf.ByteString data) |
static AesCtrHmacStreamingParams |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesCtrHmacStreamingParams |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AesCtrHmacStreamingParams |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AesCtrHmacStreamingParams |
parseFrom(InputStream input) |
static AesCtrHmacStreamingParams |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AesCtrHmacStreamingParams> |
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 CIPHERTEXT_SEGMENT_SIZE_FIELD_NUMBER
public static final int DERIVED_KEY_SIZE_FIELD_NUMBER
public static final int HKDF_HASH_TYPE_FIELD_NUMBER
public static final int HMAC_PARAMS_FIELD_NUMBER
public int getCiphertextSegmentSize()
uint32 ciphertext_segment_size = 1;getCiphertextSegmentSize in interface AesCtrHmacStreamingParamsOrBuilderpublic int getDerivedKeySize()
size of AES-CTR keys derived for each segment
uint32 derived_key_size = 2;getDerivedKeySize in interface AesCtrHmacStreamingParamsOrBuilderpublic int getHkdfHashTypeValue()
hash function for key derivation via HKDF
.google.crypto.tink.HashType hkdf_hash_type = 3;getHkdfHashTypeValue in interface AesCtrHmacStreamingParamsOrBuilderpublic HashType getHkdfHashType()
hash function for key derivation via HKDF
.google.crypto.tink.HashType hkdf_hash_type = 3;getHkdfHashType in interface AesCtrHmacStreamingParamsOrBuilderpublic boolean hasHmacParams()
params for authentication tags
.google.crypto.tink.HmacParams hmac_params = 4;hasHmacParams in interface AesCtrHmacStreamingParamsOrBuilderpublic HmacParams getHmacParams()
params for authentication tags
.google.crypto.tink.HmacParams hmac_params = 4;getHmacParams in interface AesCtrHmacStreamingParamsOrBuilderpublic static AesCtrHmacStreamingParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AesCtrHmacStreamingParams parseFrom(InputStream input) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AesCtrHmacStreamingParams.Builder newBuilder()
public static AesCtrHmacStreamingParams.Builder newBuilder(AesCtrHmacStreamingParams prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<AesCtrHmacStreamingParams,AesCtrHmacStreamingParams.Builder>public static AesCtrHmacStreamingParams getDefaultInstance()
public static com.google.protobuf.Parser<AesCtrHmacStreamingParams> parser()