commit | ed7441ebfbc69821598a5bc060518b5c82ffb5c8 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Wed Mar 20 08:52:11 2013 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Tue Mar 26 13:43:04 2013 -0700 |
tree | a34ce8bea9610a714bf68cdbd5064d899b2ced37 | |
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