Exemplo n.º 1
0
 /**
  * Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only
  * symmetric encryption and decryption are supported.
  *
  * @param keyUsage Specifies the intended use of the key. Currently this defaults to
  *     ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported.
  * @return Returns a reference to this object so that method calls can be chained together.
  * @see KeyUsageType
  */
 public CreateKeyRequest withKeyUsage(KeyUsageType keyUsage) {
   setKeyUsage(keyUsage);
   return this;
 }
Exemplo n.º 2
0
 /**
  * Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only
  * symmetric encryption and decryption are supported.
  *
  * @param keyUsage Specifies the intended use of the key. Currently this defaults to
  *     ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported.
  * @return Returns a reference to this object so that method calls can be chained together.
  * @see KeyUsageType
  */
 public CreateKeyRequest withKeyUsage(String keyUsage) {
   setKeyUsage(keyUsage);
   return this;
 }