We send a pin block to encrypt and decrypt to HSM using socket connection. As follows
public Socket clientSock; public OutputStream out; public Buffered