For an experimental project, I need to transfer the encryption keys and the corresponding context of a ssl connection from a machine (say A) to another (say B). And of course, i want to do this without dropping the connection. B talks via A so the other end of the connection is completely unaware of this.
This should be simple enough since all i need to transfer are the keys, current IVs and seq numbers but I am getting completely lost in the innards of pkcs11 structures. Cant find good documentation on it either. For starters, I cant even locate where the keybits are stored (the IV is simple enough) and once i get them across to B, how do i use the bits to recreate the SymKey and Context structures that pkcs interface needs ? Any help will be greatly appreciated! nitin
