DOFAuthenticatorcreateSessionKey Method OpenDOF Object Access Library
Create a random session key that is suitable for long-term use as either a shared secret or a session key.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static byte[] createSessionKey()

Return Value

Type: Byte
A 256-bit random key.
Remarks

Create a random session key that is suitable for long-term use as either a shared secret or a session key. This is suitable as a key for key-type DOFCredentials (equivalent to calling DOFUtil.getRandomBytes(int) and specifying a length of 32).
See Also

Reference