public static byte[] deriveDecryptionKey ( int dialect, byte[] sessionKey, byte[] preauthIntegrity ) {
        return derive(
            sessionKey,
            dialect == Smb2Constants.SMB2_DIALECT_0311 ? DECLABEL_311 : DECLABEL_300,
            dialect == Smb2Constants.SMB2_DIALECT_0311 ? preauthIntegrity : DECCONTEXT_300);

    }
public static byte [ ] deriveDecryptionKey ( int dialect , byte [ ] sessionKey , byte [ ] preauthIntegrity ) { return derive ( sessionKey , dialect == Smb2Constants . SMB2_DIALECT_0311 ? DECLABEL_311 : DECLABEL_300 , dialect == Smb2Constants . SMB2_DIALECT_0311 ? preauthIntegrity : DECCONTEXT_300 ) ; }
@param dialect
@param sessionKey
@param preauthIntegrity
@return derived decryption key