Add RSA DER encoding and decoding functions for public keys

Does len == 0 matter?