Class SignatureInfo (2.56.0)

public final class SignatureInfo extends GeneratedMessageV3 implements SignatureInfoOrBuilder

Information about the digital signature of the resource.

Protobuf type google.cloud.accessapproval.v1.SignatureInfo

Static Fields

CUSTOMER_KMS_KEY_VERSION_FIELD_NUMBER

public static final int CUSTOMER_KMS_KEY_VERSION_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER

public static final int GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER
Field Value
Type Description
int

SIGNATURE_FIELD_NUMBER

public static final int SIGNATURE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SignatureInfo getDefaultInstance()
Returns
Type Description
SignatureInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SignatureInfo.Builder newBuilder()
Returns
Type Description
SignatureInfo.Builder

newBuilder(SignatureInfo prototype)

public static SignatureInfo.Builder newBuilder(SignatureInfo prototype)
Parameter
Name Description
prototype SignatureInfo
Returns
Type Description
SignatureInfo.Builder

parseDelimitedFrom(InputStream input)

public static SignatureInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SignatureInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SignatureInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SignatureInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SignatureInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SignatureInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SignatureInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignatureInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SignatureInfo> parser()
Returns
Type Description
Parser<SignatureInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomerKmsKeyVersion()

public String getCustomerKmsKeyVersion()

The resource name of the customer CryptoKeyVersion used for signing.

string customer_kms_key_version = 3;

Returns
Type Description
String

The customerKmsKeyVersion.

getCustomerKmsKeyVersionBytes()

public ByteString getCustomerKmsKeyVersionBytes()

The resource name of the customer CryptoKeyVersion used for signing.

string customer_kms_key_version = 3;

Returns
Type Description
ByteString

The bytes for customerKmsKeyVersion.

getDefaultInstanceForType()

public SignatureInfo getDefaultInstanceForType()
Returns
Type Description
SignatureInfo

getGooglePublicKeyPem()

public String getGooglePublicKeyPem()

The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.

string google_public_key_pem = 2;

Returns
Type Description
String

The googlePublicKeyPem.

getGooglePublicKeyPemBytes()

public ByteString getGooglePublicKeyPemBytes()

The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.

string google_public_key_pem = 2;

Returns
Type Description
ByteString

The bytes for googlePublicKeyPem.

getParserForType()

public Parser<SignatureInfo> getParserForType()
Returns
Type Description
Parser<SignatureInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSignature()

public ByteString getSignature()

The digital signature.

bytes signature = 1;

Returns
Type Description
ByteString

The signature.

getVerificationInfoCase()

public SignatureInfo.VerificationInfoCase getVerificationInfoCase()
Returns
Type Description
SignatureInfo.VerificationInfoCase

hasCustomerKmsKeyVersion()

public boolean hasCustomerKmsKeyVersion()

The resource name of the customer CryptoKeyVersion used for signing.

string customer_kms_key_version = 3;

Returns
Type Description
boolean

Whether the customerKmsKeyVersion field is set.

hasGooglePublicKeyPem()

public boolean hasGooglePublicKeyPem()

The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.

string google_public_key_pem = 2;

Returns
Type Description
boolean

Whether the googlePublicKeyPem field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SignatureInfo.Builder newBuilderForType()
Returns
Type Description
SignatureInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SignatureInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SignatureInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SignatureInfo.Builder toBuilder()
Returns
Type Description
SignatureInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException