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