commit | 4415aa6cf61ea5443f88301c9ad921f8c840a4ad | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Apr 29 10:32:45 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Apr 29 10:36:25 2015 -0700 |
tree | ff9d759dfc847869c5f7227f50f5c3e91aedcecf | |
parent | f2d30c9a2f73a21225728e4ba39467275dfddc01 [diff] |
Throw InvalidKeyException when keystore key malformed When a keystore implementation can't decode a key for some reason, throw InvalidKeyException instead of RuntimeException. This will allow applications to handle the error instead of crashing. Bug: 20488918 Change-Id: I89215b5bc728ad1c266031bead940268025018a8