Add a PKCS11 provider supporting signing and verifing sigatures.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22435 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-01-14 20:53:56 +00:00
parent 9a0cc41169
commit c9f443454e
9 changed files with 2396 additions and 70 deletions

View File

@@ -1474,6 +1474,13 @@ _hx509_cert_private_key(hx509_cert p)
return p->private_key;
}
int
hx509_cert_have_private_key(hx509_cert p)
{
return p->private_key ? 1 : 0;
}
int
_hx509_cert_private_key_exportable(hx509_cert p)
{