Class KeyManagementServiceStub (2.4.4) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.4.4keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   abstract   class  KeyManagementServiceStub   implements   BackgroundResource  
  Base stub class for the KeyManagementService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Constructors
   
  KeyManagementServiceStub() 
  
    
public   KeyManagementServiceStub ()  
  Methods
   
  asymmetricDecryptCallable() 
  
    
public   UnaryCallable<AsymmetricDecryptRequest , AsymmetricDecryptResponse >  asymmetricDecryptCallable ()  
  Returns 
  
  asymmetricSignCallable() 
  
    
public   UnaryCallable<AsymmetricSignRequest , AsymmetricSignResponse >  asymmetricSignCallable ()  
  Returns 
  
  close() 
  
    
public   abstract   void   close ()  
  createCryptoKeyCallable() 
  
    
public   UnaryCallable<CreateCryptoKeyRequest , CryptoKey >  createCryptoKeyCallable ()  
  Returns 
  
  createCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<CreateCryptoKeyVersionRequest , CryptoKeyVersion >  createCryptoKeyVersionCallable ()  
  Returns 
  
  createImportJobCallable() 
  
    
public   UnaryCallable<CreateImportJobRequest , ImportJob >  createImportJobCallable ()  
  Returns 
  
  createKeyRingCallable() 
  
    
public   UnaryCallable<CreateKeyRingRequest , KeyRing >  createKeyRingCallable ()  
  Returns 
  
  decryptCallable() 
  
    
public   UnaryCallable<DecryptRequest , DecryptResponse >  decryptCallable ()  
  Returns 
  
  destroyCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<DestroyCryptoKeyVersionRequest , CryptoKeyVersion >  destroyCryptoKeyVersionCallable ()  
  Returns 
  
  encryptCallable() 
  
    
public   UnaryCallable<EncryptRequest , EncryptResponse >  encryptCallable ()  
  Returns 
  
  generateRandomBytesCallable() 
  
    
public   UnaryCallable<GenerateRandomBytesRequest , GenerateRandomBytesResponse >  generateRandomBytesCallable ()  
  Returns 
  
  getCryptoKeyCallable() 
  
    
public   UnaryCallable<GetCryptoKeyRequest , CryptoKey >  getCryptoKeyCallable ()  
  Returns 
  
  getCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<GetCryptoKeyVersionRequest , CryptoKeyVersion >  getCryptoKeyVersionCallable ()  
  Returns 
  
  getIamPolicyCallable() 
  
    
public   UnaryCallable<GetIamPolicyRequest , Policy >  getIamPolicyCallable ()  
  Returns 
  
    
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy > 
     
  
  getImportJobCallable() 
  
    
public   UnaryCallable<GetImportJobRequest , ImportJob >  getImportJobCallable ()  
  Returns 
  
  getKeyRingCallable() 
  
    
public   UnaryCallable<GetKeyRingRequest , KeyRing >  getKeyRingCallable ()  
  Returns 
  
  getPublicKeyCallable() 
  
    
public   UnaryCallable<GetPublicKeyRequest , PublicKey >  getPublicKeyCallable ()  
  Returns 
  
  importCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<ImportCryptoKeyVersionRequest , CryptoKeyVersion >  importCryptoKeyVersionCallable ()  
  Returns 
  
  listCryptoKeyVersionsCallable() 
  
    
public   UnaryCallable<ListCryptoKeyVersionsRequest , ListCryptoKeyVersionsResponse >  listCryptoKeyVersionsCallable ()  
  Returns 
  
  listCryptoKeyVersionsPagedCallable() 
  
    
public   UnaryCallable<ListCryptoKeyVersionsRequest , KeyManagementServiceClient . ListCryptoKeyVersionsPagedResponse >  listCryptoKeyVersionsPagedCallable ()  
  Returns 
  
  listCryptoKeysCallable() 
  
    
public   UnaryCallable<ListCryptoKeysRequest , ListCryptoKeysResponse >  listCryptoKeysCallable ()  
  Returns 
  
  listCryptoKeysPagedCallable() 
  
    
public   UnaryCallable<ListCryptoKeysRequest , KeyManagementServiceClient . ListCryptoKeysPagedResponse >  listCryptoKeysPagedCallable ()  
  Returns 
  
  listImportJobsCallable() 
  
    
public   UnaryCallable<ListImportJobsRequest , ListImportJobsResponse >  listImportJobsCallable ()  
  Returns 
  
  listImportJobsPagedCallable() 
  
    
public   UnaryCallable<ListImportJobsRequest , KeyManagementServiceClient . ListImportJobsPagedResponse >  listImportJobsPagedCallable ()  
  Returns 
  
  listKeyRingsCallable() 
  
    
public   UnaryCallable<ListKeyRingsRequest , ListKeyRingsResponse >  listKeyRingsCallable ()  
  Returns 
  
  listKeyRingsPagedCallable() 
  
    
public   UnaryCallable<ListKeyRingsRequest , KeyManagementServiceClient . ListKeyRingsPagedResponse >  listKeyRingsPagedCallable ()  
  Returns 
  
  macSignCallable() 
  
    
public   UnaryCallable<MacSignRequest , MacSignResponse >  macSignCallable ()  
  Returns 
  
  macVerifyCallable() 
  
    
public   UnaryCallable<MacVerifyRequest , MacVerifyResponse >  macVerifyCallable ()  
  Returns 
  
  restoreCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<RestoreCryptoKeyVersionRequest , CryptoKeyVersion >  restoreCryptoKeyVersionCallable ()  
  Returns 
  
  setIamPolicyCallable() 
  
    
public   UnaryCallable<SetIamPolicyRequest , Policy >  setIamPolicyCallable ()  
  Returns 
  
    
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy > 
     
  
  testIamPermissionsCallable() 
  
    
public   UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse >  testIamPermissionsCallable ()  
  Returns 
  
    
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse > 
     
  
  updateCryptoKeyCallable() 
  
    
public   UnaryCallable<UpdateCryptoKeyRequest , CryptoKey >  updateCryptoKeyCallable ()  
  Returns 
  
  updateCryptoKeyPrimaryVersionCallable() 
  
    
public   UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest , CryptoKey >  updateCryptoKeyPrimaryVersionCallable ()  
  Returns 
  
  updateCryptoKeyVersionCallable() 
  
    
public   UnaryCallable<UpdateCryptoKeyVersionRequest , CryptoKeyVersion >  updateCryptoKeyVersionCallable ()  
  Returns 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 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-29 UTC."],[],[]]