checking whether to import key
importing cert
getting private key with pubkey?