Add RSA DER encoding and decoding functions for public keys

Is the return here after clear right? Would it be better to keep internal state consistent if it can't load the new stuff?