Package com.amazonaws.encryptionsdk
Class ParsedCiphertext
- java.lang.Object
-
- com.amazonaws.encryptionsdk.model.CiphertextHeaders
-
- com.amazonaws.encryptionsdk.ParsedCiphertext
-
public class ParsedCiphertext extends CiphertextHeaders
Exposes header information of ciphertexts to make it easier to inspect the algorithm, keys, and encryption context prior to decryption. Please note that the class does not make defensive copies.
-
-
Constructor Summary
Constructors Constructor Description ParsedCiphertext(byte[] ciphertext)
Parsesciphertext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCiphertext()
Returns the raw ciphertext backing this object.int
getOffset()
The offset at which the first non-header byte inciphertext
is located.-
Methods inherited from class com.amazonaws.encryptionsdk.model.CiphertextHeaders
deserialize, getContentType, getCryptoAlgoId, getEncryptedKeyBlobCount, getEncryptedKeyBlobs, getEncryptionContext, getEncryptionContextLen, getEncryptionContextMap, getFrameLength, getHeaderNonce, getHeaderTag, getMessageId, getNonceLength, getType, getVersion, isComplete, serializeAuthenticatedFields, setHeaderNonce, setHeaderTag, toByteArray
-
-