add key_alg_name accessor
add support for EC keys and curves
add verify function ( sorry undocumented )
add key_alg_name test
add key_alg_name accessor
add key_alg_name test
add support for EC keys and curves

Conflicts:
	X509.pm
Fix segfault in pubkey_type() for exotic pubkeys
fix up ec-support:
* only compile when supported
* test
* return correct bit length for key
Fix segfault in pubkey_type() for exotic pubkeys
Merge branch 'ec'

Conflicts:
	X509.pm
	X509.xs
fix compile on systems without ec and add forgotten test
Merge branch 'ec'
Merge pull request #19 from amannb/key_alg_name

Add accessor key_alg_name
Add elliptic curve key certificate support.

Includes

*curve method returning name of the curve
*move bit_length to XS (extracting the length for ec-certificates is more complicated). Should speed it up for the others too
*adjust modulus and pubkey to also return the ec-public key
*pubkey_type returns ec for ec-certs.
*testcase with thawte ec-cert
*compiles fine on systems where openssl is compiled without ec and fails gracefully.

All tests passed on the systems I had access to, which included systems both with and
without openssl ec-support.

The pubkey_type change also includes a crash fix of maugier which is required for systems
with openssl without ec support.
Merge remote-tracking branch 'dsully/master'

Conflicts:
	X509.pm
Merge pull request #21 from amannb/ec3

Add elliptic curve key certificate support.
make verification nicer.
use Alien::OpenSSL, because I really need libraries different from those
on the system...
forgotten file