com.baidubce.services.kms.model
Class DecryptRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.kms.model.GenericKmsRequest
          extended by com.baidubce.services.kms.model.DecryptRequest

public class DecryptRequest
extends GenericKmsRequest

Provides options for decrypting ciphertext.


Constructor Summary
DecryptRequest()
           
DecryptRequest(String keyId, String ciphertext)
           
 
Method Summary
 String getCiphertext()
           
 String getKeyId()
           
 void setCiphertext(String ciphertext)
           
 void setKeyId(String keyId)
           
 DecryptRequest withRequestCredentials(BceCredentials credentials)
          Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecryptRequest

public DecryptRequest()

DecryptRequest

public DecryptRequest(String keyId,
                      String ciphertext)
Method Detail

withRequestCredentials

public DecryptRequest withRequestCredentials(BceCredentials credentials)
Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest

Specified by:
withRequestCredentials in class AbstractBceRequest

setCiphertext

public void setCiphertext(String ciphertext)

getCiphertext

public String getCiphertext()

getKeyId

public String getKeyId()

setKeyId

public void setKeyId(String keyId)


Copyright © 2020. All rights reserved.