summaryrefslogtreecommitdiffstats
path: root/keystore/java/android/security/CryptoOperationException.java
Commit message (Collapse)AuthorAgeFilesLines
* No runtime exceptions during normal use of AndroidKeyStore crypto.Alex Klyubin2015-04-241-61/+0
| | | | | | | | | | | | | | | This changes the implementation of AndroidKeyStore-backed Cipher and Mac to avoid throwing runtime exceptions during normal use. Runtime exceptions will now be thrown only due to truly exceptional and unrecoverable errors (e.g., keystore unreachable, or crypto primitive not initialized). This also changes the implementation of Cipher to cache any errors encountered in Cipher.update until Cipher.doFinal which then throws them as checked exceptions. Bug: 20525947 Change-Id: I3c4ad57fe70abfbb817a79402f722a0208660727
* Add license banner to recently added AndroidKeyStore files.Alex Klyubin2015-03-311-0/+16
| | | | | Bug: 18088752 Change-Id: I027f9530a02cca081aae8eb94833d2fdcb678e9a
* Symmetric key generation for AndroidKeyStore.Alex Klyubin2015-03-271-0/+45
This currently supports AES and HMAC with SHA-256. Bug: 18088752 Change-Id: Ife55438cf4129b895295681bb35091cd37eb73fb