- 29 Apr, 2013 1 commit
-
-
Kenny Root authored
To help with shipping the JSSE with apps that want to bundle it, move it to a new package so that the tangles in other parts of the library can be untangled. Change-Id: I810b6861388635301e28aee5b9b47b8e6b35b430
-
- 05 Apr, 2013 1 commit
-
-
Alex Klyubin authored
There's no need for the OpenSSL-backed KeyFactory.translateKey to create copies of Key instances which are already backed by OpenSSL. (cherry picked from commit 3fb32505a22a01c95ff82435ac7f4d6da001c11c) Change-Id: I49322aa2d29e44a06e6bd35aed3aebc0ea70a3f9
-
- 29 Mar, 2013 3 commits
-
-
Alex Klyubin authored
This fixes the bug where OpenSSL-backed KeyFactory instances (RSA, DSA, EC) could translateKey from PrivateKey to PublicKey and vice versa when presented with "opaque" keys whose translation is performed via their primary encoded form. (cherry picked from commit ddee4ef28dcce942e25fd7a24f27239cd74807fa) Change-Id: Ia24a2591a06ac82c5225a3a9e3069af7a01a0c37
-
Alex Klyubin authored
This fixes the bug where OpenSSL-backed KeyFactory instances (RSA, DSA, EC) could translateKey from PrivateKey to PublicKey and vice versa when presented with "opaque" keys whose translation is performed via their primary encoded form. Change-Id: Ia24a2591a06ac82c5225a3a9e3069af7a01a0c37
-
Alex Klyubin authored
There's no need for the OpenSSL-backed KeyFactory.translateKey to create copies of Key instances which are already backed by OpenSSL. Change-Id: I9411d774453251973703ba9de4fd413fac4b2183
-
- 26 Mar, 2013 1 commit
-
-
Alex Klyubin authored
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
-
- 14 Mar, 2013 1 commit
-
-
Kenny Root authored
Change-Id: I284bdb4d037d511390a6beb8518eb9bf9c50f25f
-
- 06 Feb, 2013 1 commit
-
-
Kenny Root authored
For requested keySpec, we don't necessarily need the strict equality check. Also, remove code that is unreachable: RSAPrivateCrtKeySpec is a child of RSAPrivateKeySpec, so there is no need to check whether the keySpec is assignable to the CRT spec. Change-Id: I8070541b015167d9314b83b45bd1410663487865
-
- 01 Feb, 2013 1 commit
-
-
Kenny Root authored
Add KeyFactory for EC. Uncomment the KeyFactory for DSA. Remove useless template parameters from RSA KeyFactory. Change-Id: Id7c4d3624719b5088abf239482ba58c7a2557d61
-
- 22 Mar, 2012 1 commit
-
-
Brian Carlstrom authored
Change-Id: I6a58044162758b3b74db5d17e9044f97dbe53bae
-
- 03 Feb, 2012 1 commit
-
-
Kenny Root authored
Refactor the way OpenSSL keys are handled so we can generate OpenSSL keys with the KeyPairGenerator and KeyFactory and pass them around without keeping the context in the OpenSSLSignature where it originated. Change-Id: Ib66bd1914e241a240cd97b1ea37e8526998107d9
-