Add exception for missing private key in X509
Centralize crypto class for dataTab.