#63 move isRsaKey and isEcdsaKey to CertSecretKey module