d036721c2ecd146acef9f36408c7a397dd0a0785 |
|
03-Feb-2012 |
Kenny Root <kroot@google.com> |
OpenSSL keys add hashCode, equals, and toString Change-Id: I8d0d8eac1e5a4ee455de1ed51bc8b610df1f45d7
|
91bb5fbe55b854df891ff7720e30d42081dbcd58 |
|
03-Feb-2012 |
Kenny Root <kroot@google.com> |
Throw exceptions on wrong key type in Signature Our engine can handle both RSA and DSA, but we need to throw an error if the wrong key type is supplied after we've initialized to emulate other providers. Also, apparently OpenSSL is really flexible, because calling EVP_SignInit had the same effect as EVP_VerifyInit. Change this to be correct even though the underlying implementation in OpenSSL doesn't care. Change-Id: If9223d17909fcf86437b9669c204fc544e6d12ff
|
746a236e2be5dee62c482e27f4c682496d071d8b |
|
01-Feb-2012 |
Kenny Root <kroot@google.com> |
Add OpenSSL KeyPairGenerator and KeyFactory 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
|