M
MadDruid
Hi all,
I'm using a pkcs11 library to get some information from a smartcard.
In particular, the C_GetAttributeValue function returns the certificate
serial number in DER format:
CKA_SERIAL_NUMBER
Byte array
DER-encoding of the certificate serial number
I'm trying to convert it to a string using libtasn1 library
(http://www.gnu.org/software/gnutls/manual/libtasn1/libtasn1.html#DER-functions)
but without success.
Does anyone knows that library and give me an hint about this topic? Or
suggest me an alternative?
Thanks.
Regards,
Alessandro
I'm using a pkcs11 library to get some information from a smartcard.
In particular, the C_GetAttributeValue function returns the certificate
serial number in DER format:
CKA_SERIAL_NUMBER
Byte array
DER-encoding of the certificate serial number
I'm trying to convert it to a string using libtasn1 library
(http://www.gnu.org/software/gnutls/manual/libtasn1/libtasn1.html#DER-functions)
but without success.
Does anyone knows that library and give me an hint about this topic? Or
suggest me an alternative?
Thanks.
Regards,
Alessandro