Jeffrey Altman
1dd38cc3de
lib/hx509: declare and apply HX509_LIB_xxx macros
...
libhx509 is not built according to the same export and calling conventions
on Windows as the other libraries. This change declares and applies
HX509_LIB_FUNCTION, HX509_LIB_NORETURN_FUNCTION, HX509_LIB_CALL and
HX509_LIB_VARIABLE to lib/hx509.
As a result of this change the calling convention for exported functions
will be __stdcall instead of __cdecl.
Change-Id: Ibc3f05e8088030ef7d13798f1d9c9b190bc57797
2019-01-02 10:23:39 -06:00
Jelmer Vernooij
36ade8b509
hx509: Make various functions used by Samba public.
...
* hx509_cert_public_encrypt
* hx509_parse_private_key
* hx509_private_key_assign_rsa
* hx509_private_key_free
* hx509_private_key_private_decrypt
* hx509_private_key_init
* hx509_private_key2SPKI
* hx509_request_get_name
* hx509_request_get_SubjectPublicKeyInfo
* hx509_request_free
* hx509_request_init
* hx509_request_set_name
* hx509_request_set_SubjectPublicKeyInfo
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-02-23 19:47:28 -08:00
Love Hornquist Astrand
fa4c84e6d6
make printablestring and ia5string octetstrings
2010-08-08 15:51:33 -07:00
Love Hörnquist Åstrand
ff5dab4f4a
remove rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:18 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
b1f885befe
use rk_undumpdata, spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:34:53 +00:00
Love Hörnquist Åstrand
cdc5318f33
Allow export some of the request parameters.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 14:22:34 +00:00
Love Hörnquist Åstrand
9de742560c
Move _hx509_request_print here.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 12:18:33 +00:00
Love Hörnquist Åstrand
af12b5af0e
Use _hx509_crypto_default_sig_alg.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 15:30:02 +00:00
Love Hörnquist Åstrand
5820ca3c54
switch to sha256 as default digest for signinging
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 23:58:14 +00:00
Love Hörnquist Åstrand
3abdc16e2a
(_hx509_request_to_pkcs10): PKCS10 needs to have a subject
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:20:11 +00:00
Love Hörnquist Åstrand
be10a19d3e
clean memory before free
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:13:53 +00:00
Love Hörnquist Åstrand
4d08f3ebbf
Try to not leak memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 22:30:45 +00:00
Love Hörnquist Åstrand
96204e40a8
prefix der primitives with der_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:42:43 +00:00
Love Hörnquist Åstrand
a688982129
Use the new add_GeneralNames function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:43:00 +00:00
Love Hörnquist Åstrand
a69f589adc
pass context to _hx509_create_signature
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:25:22 +00:00
Love Hörnquist Åstrand
f2be3565f5
Create certificate requests, prototype converts the request in a pkcs10 packet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:30 +00:00