add public key.