Bug 1048133 - Check key algorithms before using them for encryption/signatures r=rbarnes a=abillings