public key wrapping