Add RSA DER encoding and decoding functions for public keys

This verifies that loadFromData clears the existing key also, I guess?