[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing signature algorithm
Hi,
I'm trying some changes to pkinit and wanting to understand the piece of code
below. Specifically I want to change the signature algorithm from RSA with SHA1
to just RSA. Doing so fails since lib/hx509/crypto.c: rsa_create_signature()
does not support it. Why?
lib/hx509/cms.c: hx509_cms_create_signed_1() line 1120
ret = _hx509_create_signature(context,
_hx509_cert_private_key(cert),
hx509_signature_rsa_with_sha1(),
&os,
&signer_info->signatureAlgorithm,
&signer_info->signature);