Class SignatureInfo (2.6.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.6.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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 
  
  GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER 
  
    
public   static   final   int   GOOGLE_PUBLIC_KEY_PEM_FIELD_NUMBER  
   
  Field Value 
  
  SIGNATURE_FIELD_NUMBER 
  
    
public   static   final   int   SIGNATURE_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   SignatureInfo   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   SignatureInfo . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(SignatureInfo prototype) 
  
    
public   static   SignatureInfo . Builder   newBuilder ( SignatureInfo   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   SignatureInfo   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   SignatureInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   SignatureInfo   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SignatureInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   SignatureInfo   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SignatureInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   SignatureInfo   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   SignatureInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   SignatureInfo   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   SignatureInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   SignatureInfo   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SignatureInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<SignatureInfo>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  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 
  
   
  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 
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getSignature() 
  
    
public   ByteString   getSignature ()  
   
   The digital signature.
 bytes signature = 1;
 
  Returns 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  getVerificationInfoCase() 
  
    
public   SignatureInfo . VerificationInfoCase   getVerificationInfoCase ()  
   
  Returns 
  
   
  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() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   SignatureInfo . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   SignatureInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   SignatureInfo . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]