Some tokens such as SoftHSMv2 omit CKA_PUBLIC_KEY_INFO when it can be derived from algorithm specific attributes, such as CKA_MODULUS and CKA_PUBLIC_EXPONENT for RSA. This adds support for it if libtasn1 is available at compile time.
coverage: 68.851% (-0.03%) from 68.882% when pulling 652c115bcb9fe983609e4814b124678c52a30d5a on ueno:wip/dueno/pubkey into e8872bfdc4b12735bbc0433a59fc0a7ddfd68bbb on p11-glue:master.
Some tokens such as SoftHSMv2 omit CKA_PUBLIC_KEY_INFO when it can be derived from algorithm specific attributes, such as CKA_MODULUS and CKA_PUBLIC_EXPONENT for RSA. This adds support for it if libtasn1 is available at compile time.
Fixes: #555