Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CiphertextType.deserialize should throw an error if it encounters an invalid type #118

Open
mattsb42-aws opened this issue Jul 23, 2019 · 0 comments
Labels

Comments

@mattsb42-aws
Copy link
Member

Currently, if CiphertextType.deserialize is called with a byte containing anything other than a valid ciphertext type ID, it will return null. This seems like the wrong behavior to me.

https://github.com/aws/aws-encryption-sdk-java/blob/master/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextType.java#L71-L75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant