Add ECCRecord support to keycache.
Add ECCRecord support to keycache.

This commit adds ECC cases to functions checking for RSA records.
Additionally, the rsaEncryptedKey variable is changed to pubEncryptedKey
to reflect a general use of public key crypto.

ejcx/redoctober,Bren2010/redoctober,ejcx/redoctober,dullgiulio/redoctober,dullgiulio/redoctober,Bren2010/redoctober