extractPublicKey