Check PKCS#8 pkey field is valid before cleansing.