public static final class Signed.Header extends com.google.protobuf.GeneratedMessageV3 implements Signed.HeaderOrBuilder
proto.crypto.v1.Header| Modifier and Type | Class and Description |
|---|---|
static class |
Signed.Header.Builder
Protobuf type
proto.crypto.v1.Header |
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.UnusedPrivateParametercom.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSOCIATED_DATA_LENGTH_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
SIGNATURE_ALGORITHM_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
VERIFICATION_KEY_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAssociatedDataLength()
Length of associated data that is covered by the signature, but is not
included in the header and body.
|
static Signed.Header |
getDefaultInstance() |
Signed.Header |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getMetadata()
Optional arbitrary per-protocol metadata.
|
com.google.protobuf.Parser<Signed.Header> |
getParserForType() |
int |
getSerializedSize() |
Signed.SignatureAlgorithm |
getSignatureAlgorithm()
Algorithm used to compute the signature.
|
int |
getSignatureAlgorithmValue()
Algorithm used to compute the signature.
|
com.google.protobuf.Timestamp |
getTimestamp()
Optional signature creation timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
Optional signature creation timestamp.
|
com.google.protobuf.ByteString |
getVerificationKeyId()
Optional arbitrary per-protocol key identifier.
|
int |
hashCode() |
boolean |
hasTimestamp()
Optional signature creation timestamp.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Signed.Header.Builder |
newBuilder() |
static Signed.Header.Builder |
newBuilder(Signed.Header prototype) |
Signed.Header.Builder |
newBuilderForType() |
protected Signed.Header.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Signed.Header |
parseDelimitedFrom(InputStream input) |
static Signed.Header |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Signed.Header |
parseFrom(byte[] data) |
static Signed.Header |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Signed.Header |
parseFrom(ByteBuffer data) |
static Signed.Header |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Signed.Header |
parseFrom(com.google.protobuf.ByteString data) |
static Signed.Header |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Signed.Header |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Signed.Header |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Signed.Header |
parseFrom(InputStream input) |
static Signed.Header |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Signed.Header> |
parser() |
Signed.Header.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWritercanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, 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 SIGNATURE_ALGORITHM_FIELD_NUMBER
public static final int VERIFICATION_KEY_ID_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int ASSOCIATED_DATA_LENGTH_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 int getSignatureAlgorithmValue()
Algorithm used to compute the signature.
.proto.crypto.v1.SignatureAlgorithm signature_algorithm = 1;getSignatureAlgorithmValue in interface Signed.HeaderOrBuilderpublic Signed.SignatureAlgorithm getSignatureAlgorithm()
Algorithm used to compute the signature.
.proto.crypto.v1.SignatureAlgorithm signature_algorithm = 1;getSignatureAlgorithm in interface Signed.HeaderOrBuilderpublic com.google.protobuf.ByteString getVerificationKeyId()
Optional arbitrary per-protocol key identifier.
bytes verification_key_id = 2;getVerificationKeyId in interface Signed.HeaderOrBuilderpublic boolean hasTimestamp()
Optional signature creation timestamp.
.google.protobuf.Timestamp timestamp = 3;hasTimestamp in interface Signed.HeaderOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
Optional signature creation timestamp.
.google.protobuf.Timestamp timestamp = 3;getTimestamp in interface Signed.HeaderOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
Optional signature creation timestamp.
.google.protobuf.Timestamp timestamp = 3;getTimestampOrBuilder in interface Signed.HeaderOrBuilderpublic com.google.protobuf.ByteString getMetadata()
Optional arbitrary per-protocol metadata.
bytes metadata = 4;getMetadata in interface Signed.HeaderOrBuilderpublic int getAssociatedDataLength()
Length of associated data that is covered by the signature, but is not included in the header and body. This is zero, if no associated data is covered by the signature.
int32 associated_data_length = 5;getAssociatedDataLength in interface Signed.HeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>public 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 Signed.Header parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Signed.Header parseFrom(InputStream input) throws IOException
IOExceptionpublic static Signed.Header parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Signed.Header parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Signed.Header parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Signed.Header parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Signed.Header parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Signed.Header.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Signed.Header.Builder newBuilder()
public static Signed.Header.Builder newBuilder(Signed.Header prototype)
public Signed.Header.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Signed.Header.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Signed.Header getDefaultInstance()
public static com.google.protobuf.Parser<Signed.Header> parser()
public com.google.protobuf.Parser<Signed.Header> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Signed.Header getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.