public class GenerateDataKeyWithoutPlaintextResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
GenerateDataKeyWithoutPlaintextResult() |
Modifier and Type | Method and Description |
---|---|
GenerateDataKeyWithoutPlaintextResult |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getCiphertextBlob()
Ciphertext that contains the wrapped data key.
|
String |
getKeyId()
System generated unique identifier of the key to be used to decrypt
the encrypted copy of the data key.
|
int |
hashCode() |
void |
setCiphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext that contains the wrapped data key.
|
void |
setKeyId(String keyId)
System generated unique identifier of the key to be used to decrypt
the encrypted copy of the data key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateDataKeyWithoutPlaintextResult |
withCiphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext that contains the wrapped data key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(String keyId)
System generated unique identifier of the key to be used to decrypt
the encrypted copy of the data key.
|
public GenerateDataKeyWithoutPlaintextResult()
public ByteBuffer getCiphertextBlob()
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
public void setCiphertextBlob(ByteBuffer ciphertextBlob)
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
ciphertextBlob
- Ciphertext that contains the wrapped data key. You must store the blob
and encryption context so that the key can be used in a future decrypt
operation. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(ByteBuffer ciphertextBlob)
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob
- Ciphertext that contains the wrapped data key. You must store the blob
and encryption context so that the key can be used in a future decrypt
operation. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
public String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId
- System generated unique identifier of the key to be used to decrypt
the encrypted copy of the data key.public GenerateDataKeyWithoutPlaintextResult withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId
- System generated unique identifier of the key to be used to decrypt
the encrypted copy of the data key.public String toString()
toString
in class Object
Object.toString()
public GenerateDataKeyWithoutPlaintextResult clone()
Copyright © 2015. All rights reserved.