diff options
author | Alex Klyubin <klyubin@google.com> | 2013-03-20 08:52:11 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2013-03-26 13:43:04 -0700 |
commit | ed7441ebfbc69821598a5bc060518b5c82ffb5c8 (patch) | |
tree | a34ce8bea9610a714bf68cdbd5064d899b2ced37 /annotations/generate_annotated_java_files.py | |
parent | e8f2e4949f5047cd3b579b7cd1628a2b5b590fe0 (diff) |
InvalidKeyException for "opaque" keys null getEncoded()
This makes OpenSSL-backed KeyFactory instances (RSA, DSA, EC)
translateKey method throw InvalidKeyException for "opaque" keys whose
getFormat() returns non-null while getEncoded() returns null.
Prior to this change a NullPointerException was thrown.
Change-Id: Ie0f3ec27356307338839f4c2b248b0e79578e19b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions