SOFTHSM-98: Handle mandatory attributes for DSA, DH, and ECDSA correctly.